73 _Fmt fmt (
"Category: %s");
75 cout << fmt % c1 <<
"\n";
76 cout << fmt % c2 <<
"\n";
77 cout << fmt % c3 <<
"\n";
78 cout << fmt % c4 <<
"\n";
82 void containmentQuery()
89 CHECK ( c1.hasKind(VIDEO) );
90 CHECK (!c1.hasKind(AUDIO) );
111 CHECK (0 > c1.compare(c2));
112 CHECK (0 > c2.compare(c3));
113 CHECK (0 > c3.compare(c4));
114 CHECK (0 > c4.compare(c5));
115 CHECK (0 > c5.compare(c6));
117 CHECK (0 ==c1.compare(c1));
118 CHECK (0 > c1.compare(c6));
124 CHECK (0 > c1.compare(c21));
125 CHECK (0 > c2.compare(c21));
126 CHECK (0 < c22.compare(c21));
127 CHECK (0 < c23.compare(c22));
128 CHECK (0 < c23.compare(c21));
129 CHECK ( 0==c22.compare(c22));
bool isWithin(Category const &) const
hierarchical inclusion test.
Tree like classification of Assets.
Steam-Layer implementation namespace root.
A front-end for using printf-style formatting.
Simple test class runner.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
The asset subsystem of the Steam-Layer.
Definition of Asset categorisation.