AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxSDK::LinkedStructure::IdData Struct Reference

Group id 'union' of int id and name id. More...

#include <LinkedStructure.h>

Public Member Functions

 IdData ()
 Default constructor, group id is invalid with id == agx::InvalidIndex and name == "".
 
 IdData (agx::UInt32 id)
 Construct group given int id where name == "".
 
 IdData (const agx::Name &name)
 Construct group given name where id == agx::InvalidIndex.
 
agx::Bool operator!= (const IdData &other) const
 
agx::Bool operator== (const IdData &other) const
 

Public Attributes

agx::UInt32 id
 
agx::Name name
 

Detailed Description

Group id 'union' of int id and name id.

Either id == agx::InvalidIndex or name == "" representing group of either name or id. If data == IdData() the group is empty and shouldn't be handled.

Definition at line 334 of file LinkedStructure.h.

Constructor & Destructor Documentation

◆ IdData() [1/3]

agxSDK::LinkedStructure::IdData::IdData ( )
inline

Default constructor, group id is invalid with id == agx::InvalidIndex and name == "".

Definition at line 339 of file LinkedStructure.h.

◆ IdData() [2/3]

agxSDK::LinkedStructure::IdData::IdData ( agx::UInt32  id)
inline

Construct group given int id where name == "".

Definition at line 344 of file LinkedStructure.h.

◆ IdData() [3/3]

agxSDK::LinkedStructure::IdData::IdData ( const agx::Name &  name)
inline

Construct group given name where id == agx::InvalidIndex.

Definition at line 349 of file LinkedStructure.h.

Member Function Documentation

◆ operator!=()

agx::Bool agxSDK::LinkedStructure::IdData::operator!= ( const IdData &  other) const
inline
Returns
true if other id and name are not equal to id and name of this

Definition at line 359 of file LinkedStructure.h.

◆ operator==()

agx::Bool agxSDK::LinkedStructure::IdData::operator== ( const IdData &  other) const
inline
Returns
true if other id and name equals id and name of this

Definition at line 354 of file LinkedStructure.h.

References id, and name.

Member Data Documentation

◆ id

agx::UInt32 agxSDK::LinkedStructure::IdData::id

Definition at line 361 of file LinkedStructure.h.

Referenced by operator==().

◆ name

agx::Name agxSDK::LinkedStructure::IdData::name

Definition at line 362 of file LinkedStructure.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: