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() [1/2]

DescLevel ( Int32   t_id )

Constructor, specifying only the ID.

参数
[in] t_id Initial value for id .

◆  DescLevel() [2/2]

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 .

成员函数文档编制

◆  operator==()

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.
返回
true if description levels are equal, otherwise false .

◆  operator!=()

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.
返回
true if description levels are not equal, otherwise false .

Member Data Documentation

◆  id

Int32 id

ID of the level.

◆  dtype

Int32 dtype

Data type. Either a custom ID or one of these: DTYPE .

◆  creator

Int32 creator

Creator ID.