MAK Legion API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Attributes | List of all members
Legion::AttributeDescriptor Struct Reference

An attribute descriptor describes a single attribute. More...

+ Collaboration diagram for Legion::AttributeDescriptor:

Public Attributes

std::string name
 
DataType type
 
UInt32 cardinality
 
DataReflectablity reflectedOnNetwork
 

Detailed Description

An attribute descriptor describes a single attribute.

Attribute descriptors describe a single attribute of an attribute set. The descriptor's name is used to generate its ID. The Datatype needs to be one of the ones defined in dataTypes.h. The cardinality is either a fixed number or VariableCardinity, which allows for unbounded length arrays of the attribute. There is a slight performance impact using a VariableCardinality attribute.

Member Data Documentation

UInt32 Legion::AttributeDescriptor::cardinality
std::string Legion::AttributeDescriptor::name
DataReflectablity Legion::AttributeDescriptor::reflectedOnNetwork
DataType Legion::AttributeDescriptor::type

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

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)