Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Quantum.Contents.ObjectContent Class Reference

An implementation of IContent that gives access to an object or a boxed struct. More...

Inheritance diagram for SiliconStudio.Quantum.Contents.ObjectContent:
SiliconStudio.Quantum.Contents.ContentBase SiliconStudio.Quantum.Contents.IContent SiliconStudio.Quantum.Contents.BoxedContent

Public Member Functions

 ObjectContent (object value, ITypeDescriptor descriptor, bool isPrimitive, IReference reference)
 
- Public Member Functions inherited from SiliconStudio.Quantum.Contents.ContentBase
override string ToString ()
 

Properties

override object Value [get, set]
 
- Properties inherited from SiliconStudio.Quantum.Contents.ContentBase
Type Type [get, set]
 
abstract object Value [get, set]
 
bool IsPrimitive [get, set]
 
ITypeDescriptor Descriptor [get, set]
 
bool IsReference [get]
 
IReference Reference [get]
 
virtual ViewModelContentState LoadState [get, set]
 
ViewModelContentFlags Flags [get, set]
 
ViewModelContentSerializeFlags SerializeFlags [get, set]
 
- Properties inherited from SiliconStudio.Quantum.Contents.IContent
Type Type [get]
 Gets the expected type of Value. More...
 
object Value [get, set]
 Gets or sets the value. More...
 
bool IsPrimitive [get]
 Gets whether this content hold a primitive type value. If so, the node owning this content should have no children and modifying its value should not trigger any node refresh. More...
 
ITypeDescriptor Descriptor [get]
 Gets or sets the type descriptor of this content More...
 
bool IsReference [get]
 Gets wheither this content holds a reference or is a direct value. More...
 
IReference Reference [get]
 Gets or sets the reference hold by this content, if applicable. More...
 
ViewModelContentState LoadState [get, set]
 Gets or sets the loading state. More...
 
ViewModelContentFlags Flags [get, set]
 Gets or sets the content flags. More...
 
ViewModelContentSerializeFlags SerializeFlags [get, set]
 Gets or sets the serialization flags. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SiliconStudio.Quantum.Contents.ContentBase
 ContentBase (Type type, ITypeDescriptor descriptor, bool isPrimitive, IReference reference)
 

Detailed Description

An implementation of IContent that gives access to an object or a boxed struct.

This content is not serialized by default.

Definition at line 14 of file ObjectContent.cs.

Constructor & Destructor Documentation

SiliconStudio.Quantum.Contents.ObjectContent.ObjectContent ( object  value,
ITypeDescriptor  descriptor,
bool  isPrimitive,
IReference  reference 
)

Definition at line 18 of file ObjectContent.cs.

Property Documentation

override object SiliconStudio.Quantum.Contents.ObjectContent.Value
getset

Definition at line 25 of file ObjectContent.cs.


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