Back to the top page
Back to the upper page
Function members
public
- TArtMap()
- TArtMap(const int incat, const int indet, const int dtype)
- virtual ~TArtMap()
- virtual int GetCategoryID()
- virtual int GetDetectorID()
- virtual int GetDatatypeID()
- virtual bool operator <(const TArtMap &m)
protected
- int categoryid
- int detectorid
- int datatype
Function documents
- TArtMap(const int incat, const int indet, &color():Invalid color: const int;
Assign incat, indet, and dtype to categoryid, detecotrid, and datatype, respectively.
- virtual operator< (const TArtMap &m)
Compare elements of TArtMap, and return the result.
- Example
TArtMap map1(1,1,2); // categoryid= 1, detectorid = 1, datatype = 2 TArtMap map2(1,1,3); // categoryid= 1, detectorid = 1, datatype = 3 bool result = map1 < map2; // Compare each datatype.
This result is "true".
Last-modified: Mon, 12 Dec 2011 18:58:10 HAST (4842d)