hla: Remove deprecated types and methods from HLADataElement.

This commit is contained in:
Mathias Froehlich 2012-07-21 12:55:53 +02:00
parent 39a4d55866
commit 199419ae62

View File

@ -147,15 +147,12 @@ public:
};
typedef std::list<PathElement> Path;
typedef std::pair<std::string, Path> StringPathPair;
typedef StringPathPair AttributePathPair; // deprecated
typedef std::pair<unsigned, Path> IndexPathPair;
static std::string toString(const Path& path);
static std::string toString(const StringPathPair& path)
{ return path.first + toString(path.second); }
static StringPathPair toStringPathPair(const std::string& s);
static AttributePathPair toAttributePathPair(const std::string& s) // deprecated
{ return toStringPathPair(s); }
static Path toPath(const std::string& s)
{ return toStringPathPair(s).second; }