DescLevel Struct Reference Library » 描述
#include <lib_description.h>
Represents a level within a DescID .
公共成员函数 |
|
| DescLevel ( Int32 t_id) | |
| DescLevel ( Int32 t_id, Int32 t_datatype, Int32 t_creator) | |
| Bool | operator== (const DescLevel &d) const |
| Bool | operator!= (const DescLevel &d) const |
Public Attributes |
|
| Int32 | id |
| Int32 | dtype |
| Int32 | creator |
| DescLevel | ( | Int32 | t_id | ) |
Constructor, specifying only the ID.
| [in] | t_id | Initial value for id . |
| DescLevel | ( | Int32 | t_id , |
| Int32 | t_datatype , | ||
| Int32 | t_creator | ||
| ) |
| [in] | t_id | Initial value for id . |
| [in] | t_datatype | Initial value for dtype . |
| [in] | t_creator | Initial value for creator . |
| Bool operator== | ( | const DescLevel & | d | ) | const |
Equality operator. Checks if description levels are equals i.e all vales are equal.
| [in] | d | A description level to compare with. |
| Bool operator!= | ( | const DescLevel & | d | ) | const |
Inequality operator. Checks if description levels are not equal i.e any vales is different.
| [in] | d | A description level to compare with. |
| Int32 id |
ID of the level.
| Int32 dtype |
Data type. Either a custom ID or one of these: DTYPE .
| Int32 creator |
Creator ID.