Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/asset/category.hpp"
Tree like classification of Assets.
By virtue of the Category, Assets can be organised in nested bins (folders). This includes the distinction of different kinds of Assets, like Audio, Video, Effects...
Definition at line 75 of file category.hpp.
Public Member Functions | |
Category (const Kind root, Literal subfolder="") | |
int | compare (Category const &co) const |
bool | hasKind (Kind refKind) const |
bool | isWithin (Category const &) const |
hierarchical inclusion test. More... | |
operator string () const | |
human readable representation of the asset::Category. More... | |
bool | operator!= (Category const &other) const |
bool | operator== (Category const &other) const |
void | setPath (string const &newpath) |
Friends | |
size_t | hash_value (Category const &) |
Private Attributes | |
Kind | kind_ |
string | path_ |
bool isWithin | ( | Category const & | ref | ) | const |
hierarchical inclusion test.
this
can be considered a subcategory of the given reference Definition at line 69 of file category.cpp.
operator string | ( | ) | const |
human readable representation of the asset::Category.
Definition at line 44 of file category.cpp.