#include<kfbxstreamoptions.h>
This class is a composite class that contains stream options management services. The content of a Kfbx Stream Option is stored in a property (KFbxProperty).
Definition at line56of filekfbxstreamoptions.h.
Public Member Functions | |
| virtual void | Reset() |
| Reset all the options to default value. | |
| KFbxProperty | GetOption(KString&pName) |
| Get a Stream Option by Stream Option Name. | |
| KFbxProperty | GetOption(const char *pName) |
| Get a Stream Option by Stream Option Name. | |
| template<class T> | |
| bool | SetOption(KString&pName, T const&pValue) |
| Set a Stream Option by Stream Option Name and a Value. | |
| template<class T> | |
| bool | SetOption(const char *pName, T const&pValue) |
| Set a Stream Option by Stream Option Name and a Value. | |
| bool | SetOption(KFbxPropertypProperty) |
| Set a Stream Option by a Property (KFbxProperty). | |
| bool | CopyFrom(constKFbxStreamOptions*pKFbxStreamOptionsSrc) |
| Copies the properties of anotherKFbxStreamOptions. | |
| virtual void Reset | ( | ) | [virtual] |
Reset all the options to default value.
Reimplemented inKFbxStreamOptions3dsReader,KFbxStreamOptions3dsWriter,KFbxStreamOptionsColladaReader,KFbxStreamOptionsColladaWriter,KFbxStreamOptionsDxfReader,KFbxStreamOptionsFbxReader,KFbxStreamOptionsFbxWriter,KFbxStreamOptionsObjReader, andKFbxStreamOptionsObjWriter.
| KFbxPropertyGetOption | ( | KString& | pName | ) |
Get a Stream Option by Stream Option Name.
| pName | The name of the Stream Option |
Referenced byKFbxStreamOptionsDxfReader::SetCreateRootNode(), andKFbxStreamOptionsDxfReader::SetWeldVertices().
| KFbxPropertyGetOption | ( | const char * | pName | ) |
Get a Stream Option by Stream Option Name.
| bool SetOption | ( | KString& | pName, | |
| T const& | pValue | |||
| ) | [inline] |
Set a Stream Option by Stream Option Name and a Value.
| pName | Name of the option where a change is needed. | |
| pValue | Value to be set. |
trueif the Stream Option was found and the value has been set.Definition at line87of filekfbxstreamoptions.h.
ReferencesKFbxProperty::GetPropertyDataType(),KFbxDataType::GetType(), KFbxProperty::IsValid(), andKFbxProperty::Set().
| bool SetOption | ( | const char * | pName, | |
| T const& | pValue | |||
| ) | [inline] |
Set a Stream Option by Stream Option Name and a Value.
| pName | Name of the option where a change is needed. | |
| pValue | Value to be set. |
trueif the Stream Option was found and the value has been set.Definition at line104of filekfbxstreamoptions.h.
ReferencesKFbxProperty::GetPropertyDataType(),KFbxDataType::GetType(), KFbxProperty::IsValid(), andKFbxProperty::Set().
| bool SetOption | ( | KFbxProperty | pProperty | ) |
Set a Stream Option by a Property (KFbxProperty).
| pProperty | Property containing the value to be set. |
trueif the Property has been set, otherwisefalse.| bool CopyFrom | ( | constKFbxStreamOptions* | pKFbxStreamOptionsSrc | ) |
Copies the properties of anotherKFbxStreamOptions.
| pKFbxStreamOptionsSrc | Contains the properties to be copied |