Cogs.Core
List of all members
Cogs::ComponentModel::SerializableAttribute Struct Reference

Tags an object as being possible to serialize. More...

#include <Attributes.h>

Inheritance diagram for Cogs::ComponentModel::SerializableAttribute:
Cogs::Reflection::RegularAttribute< SerializableAttribute > Cogs::Reflection::Attribute

Additional Inherited Members

- Public Member Functions inherited from Cogs::Reflection::RegularAttribute< SerializableAttribute >
 RegularAttribute (bool runtime=true)
 Construct a regular attribute. True if runtime attribute.
 
- Public Member Functions inherited from Cogs::Reflection::Attribute
TypeId getType () const
 Get the type of the derived attribute class.
 
TypeId getGenericType () const
 
bool isRuntime () const
 Gets value of the runtime attribute flag.
 
- Protected Member Functions inherited from Cogs::Reflection::Attribute
 Attribute (TypeId type)
 Constructs an attribute instance with the given type.
 
 Attribute (TypeId type, TypeId genericType, bool runtime=true)
 Constructs a generic attribute instance with the given type and generic type parameter.
 
template<typename T >
T & get (size_t index=0)
 Get the stored value of the given type, with an optional index.
 
template<typename T >
const T & get (size_t index=0) const
 See non-const get() implementation.
 

Detailed Description

Tags an object as being possible to serialize.

Definition at line 84 of file Attributes.h.


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