#include <CustomData.h>
Inherits TypedMetadata< T >.
◆ ConstPtr
◆ Ptr
◆ AXStringMetadata() [1/3]
◆ AXStringMetadata() [2/3]
◆ AXStringMetadata() [3/3]
◆ ~AXStringMetadata()
◆ asBool()
|
inlineoverridevirtualinherited |
Return the boolean representation of this metadata (empty strings and zeroVals evaluate to false; most other values evaluate to true).
Implements Metadata.
◆ clearRegistry()
static void clearRegistry |
( |
| ) |
|
|
staticinherited |
Clear out the metadata registry.
◆ copy() [1/2]
◆ copy() [2/2]
◆ createMetadata() [1/2]
Create new metadata of this type.
◆ createMetadata() [2/2]
Create new metadata of the given type.
◆ isRegisteredType() [1/2]
◆ isRegisteredType() [2/2]
static bool isRegisteredType |
( |
const Name & |
typeName | ) |
|
|
staticinherited |
Return true
if the given type is known by the metadata type registry.
◆ operator!=()
bool operator!= |
( |
const Metadata & |
other | ) |
const |
|
inlineinherited |
Return true
if the given metadata is different from this metadata.
◆ operator==()
bool operator== |
( |
const Metadata & |
other | ) |
const |
|
inherited |
Return true
if the given metadata is equivalent to this metadata.
◆ read()
void read |
( |
std::istream & |
is | ) |
|
|
inlineinherited |
Unserialize this metadata from a stream.
◆ readSize()
Index32 readSize |
( |
std::istream & |
is | ) |
|
|
inlinestaticprotectedinherited |
Read the size of the metadata from a stream.
◆ readValue()
|
inlineoverrideprotectedvirtual |
◆ registerType() [1/2]
◆ registerType() [2/2]
static void registerType |
( |
const Name & |
typeName, |
|
|
Metadata::Ptr(*)() |
createMetadata |
|
) |
| |
|
staticinherited |
Register the given metadata type along with a factory function.
◆ setValue() [1/2]
void setValue |
( |
const std::string & |
string | ) |
|
|
inline |
◆ setValue() [2/2]
void setValue |
( |
const T & |
val | ) |
|
|
inlineinherited |
Set this metadata's value.
◆ size()
|
inlineoverridevirtualinherited |
Return the size of this metadata in bytes.
Implements Metadata.
◆ staticTypeName()
static Name staticTypeName |
( |
| ) |
|
|
inlinestaticinherited |
◆ str() [1/2]
std::string str |
( |
| ) |
const |
|
inlinevirtualinherited |
Return a textual representation of this metadata.
Implements Metadata.
◆ str() [2/2]
std::string str |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
Return a textual representation of this metadata.
Implements Metadata.
◆ typeName()
|
inlineoverridevirtualinherited |
Return the type name of the metadata.
Implements Metadata.
◆ unregisterType() [1/2]
◆ unregisterType() [2/2]
static void unregisterType |
( |
const Name & |
typeName | ) |
|
|
staticinherited |
◆ value() [1/2]
◆ value() [2/2]
◆ write()
void write |
( |
std::ostream & |
os | ) |
const |
|
inlineinherited |
Serialize this metadata to a stream.
◆ writeSize()
void writeSize |
( |
std::ostream & |
os | ) |
const |
|
inlineprotectedinherited |
Write the size of the metadata to a stream.
◆ writeValue()
void writeValue |
( |
std::ostream & |
| ) |
const |
|
inlineoverrideprotectedvirtualinherited |
Write the metadata to a stream.
Implements Metadata.
The documentation for this struct was generated from the following file: