#include <attrid.h>
An attribute ID is used to carry attribute types (no values) around.
Attribute IDs are compile-time safe, since each attribute ID represents its own C++ type.
- Copyright
- (C) 2006 Radon Labs GmbH (C) 2013-2020 Individual contributors, see AUTHORS file
Inherited by Attr::BlobAttrId, Attr::BoolAttrId, Attr::FloatAttrId, Attr::GuidAttrId, Attr::IntAttrId, Attr::Mat4AttrId, Attr::StringAttrId, Attr::UIntAttrId, and Attr::Vec4AttrId.
◆ AttrId() [1/6]
◆ AttrId() [2/6]
Attr::AttrId::AttrId |
( |
const AttrId & | rhs | ) |
|
|
inline |
◆ AttrId() [3/6]
construct from attribute definition class
◆ AttrId() [4/6]
construct from pointer to definition class
◆ AttrId() [5/6]
construct from attribute name
◆ AttrId() [6/6]
construct from attribute fourcc code
◆ GetAccessMode()
◆ GetAllAttrIds()
return all attribute id's (slow!)
Returns an array with all existing attribute ids.
This is a slow method.
◆ GetBlobDefValue()
const Util::Blob & Attr::AttrId::GetBlobDefValue |
( |
| ) |
const |
|
inline |
◆ GetBoolDefValue()
bool Attr::AttrId::GetBoolDefValue |
( |
| ) |
const |
|
inline |
◆ GetDefaultValue()
get default value variant
◆ GetFloatDefValue()
float Attr::AttrId::GetFloatDefValue |
( |
| ) |
const |
|
inline |
◆ GetFourCC()
◆ GetGuidDefValue()
const Util::Guid & Attr::AttrId::GetGuidDefValue |
( |
| ) |
const |
|
inline |
◆ GetIntDefValue()
int Attr::AttrId::GetIntDefValue |
( |
| ) |
const |
|
inline |
◆ GetMat4DefValue()
const Math::mat4 & Attr::AttrId::GetMat4DefValue |
( |
| ) |
const |
|
inline |
◆ GetName()
◆ GetSizeOfType()
uint Attr::AttrId::GetSizeOfType |
( |
| ) |
const |
|
inline |
return the byte size of the type
◆ GetStringDefValue()
const Util::String & Attr::AttrId::GetStringDefValue |
( |
| ) |
const |
|
inline |
◆ GetTypeName()
◆ GetUIntDefValue()
uint Attr::AttrId::GetUIntDefValue |
( |
| ) |
const |
|
inline |
◆ GetValueType()
ValueType Attr::AttrId::GetValueType |
( |
| ) |
const |
|
inline |
◆ GetVec4DefValue()
Math::vec4 Attr::AttrId::GetVec4DefValue |
( |
| ) |
const |
|
inline |
◆ IsDynamic()
bool Attr::AttrId::IsDynamic |
( |
| ) |
const |
|
inline |
return true if this attribute was dynamically registered
◆ IsValid()
bool Attr::AttrId::IsValid |
( |
| ) |
const |
|
inline |
return true if the attribute id object is valid
◆ IsValidFourCC()
bool Attr::AttrId::IsValidFourCC |
( |
const Util::FourCC & | fcc | ) |
|
|
inlinestatic |
return true if the provided attribute id fourcc is valid
◆ IsValidName()
return true if the provided attribute id name is valid
◆ operator!=()
bool Attr::AttrId::operator!= |
( |
const AttrId & | rhs | ) |
const |
|
inline |
◆ operator<()
bool Attr::AttrId::operator< |
( |
const AttrId & | rhs | ) |
const |
|
inline |
◆ operator<=()
bool Attr::AttrId::operator<= |
( |
const AttrId & | rhs | ) |
const |
|
inline |
◆ operator==()
bool Attr::AttrId::operator== |
( |
const AttrId & | rhs | ) |
const |
|
inline |
◆ operator>()
bool Attr::AttrId::operator> |
( |
const AttrId & | rhs | ) |
const |
|
inline |
◆ operator>=()
bool Attr::AttrId::operator>= |
( |
const AttrId & | rhs | ) |
const |
|
inline |
greater-or-equal operator
◆ defPtr
The documentation for this class was generated from the following files:
- /github/workspace/code/addons/attr/attrid.h
- /github/workspace/code/addons/attr/attrid.cc