< Home

< Table of Contents

REFERENCE MANUAL

Exchange::ExportXMLOptionsKit Class Reference

#include <sprk_exchange.h>

Inheritance diagram for Exchange::ExportXMLOptionsKit:
Sprocket Object

Public Member Functions

bool Empty () const
 
bool Equals (ExportXMLOptionsKit const &in_kit) const
 
 ExportXMLOptionsKit ()
 
 ExportXMLOptionsKit (ExportXMLOptionsKit const &in_kit)
 
 ExportXMLOptionsKit (ExportXMLOptionsKit &&in_that)
 
Type ObjectType () const
 
bool operator!= (ExportXMLOptionsKit const &in_kit) const
 
ExportXMLOptionsKitoperator= (ExportXMLOptionsKit const &in_kit)
 
ExportXMLOptionsKitoperator= (ExportXMLOptionsKit &&in_that)
 
bool operator== (ExportXMLOptionsKit const &in_kit) const
 
void Set (ExportXMLOptionsKit const &in_kit)
 
ExportXMLOptionsKitSetMaterials (bool in_state)
 
ExportXMLOptionsKitSetMetadata (bool in_state)
 
ExportXMLOptionsKitSetTransformations (bool in_state)
 
void Show (ExportXMLOptionsKit &out_kit) const
 
bool ShowMaterials (bool &out_state) const
 
bool ShowMetadata (bool &out_state) const
 
bool ShowTransformations (bool &out_state) const
 
ExportXMLOptionsKitUnsetEverything ()
 
ExportXMLOptionsKitUnsetMaterials ()
 
ExportXMLOptionsKitUnsetMetadata ()
 
ExportXMLOptionsKitUnsetTransformations ()
 
- Public Member Functions inherited from Sprocket
 Sprocket (Sprocket &&in_that)
 
- Public Member Functions inherited from Object
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (Type in_mask) const
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
Type Type () const
 

Static Public Member Functions

static ExportXMLOptionsKit GetDefault ()
 
- Static Public Member Functions inherited from Object
template<typename T >
static intptr_t ClassID ()
 

Additional Inherited Members

- Public Types inherited from Sprocket
enum  UpdateType { Synchronous, Asynchronous }
 

Detailed Description

The Exchange::ExportXMLOptionsKit class is a user space object. It contains settings controlling how XML data is exported via Exchange. Calling Exchange::ExportXMLOptionsKit::GetDefault() will return an options kit with values found in here.

Constructor & Destructor Documentation

Exchange::ExportXMLOptionsKit::ExportXMLOptionsKit ( )

The default constructor creates an empty ExportXMLOptionsKit object.

Exchange::ExportXMLOptionsKit::ExportXMLOptionsKit ( ExportXMLOptionsKit const &  in_kit)

The copy constructor creates a new ExportXMLOptionsKit object that contains the same settings as the source ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to copy.
Exchange::ExportXMLOptionsKit::ExportXMLOptionsKit ( ExportXMLOptionsKit &&  in_that)

The move constructor creates an ExportXMLOptionsKit by transferring the underlying object of the rvalue reference to this ExportXMLOptionsKit.

Parameters
in_thatAn rvalue reference to an ExportXMLOptionsKit to take the underlying object from.

Member Function Documentation

bool Exchange::ExportXMLOptionsKit::Empty ( ) const
virtual

Indicates whether this ExportXMLOptionsKit has any values set on it.

Returns
true if no values are set on this ExportXMLOptionsKit, false otherwise.

Reimplemented from Object.

bool Exchange::ExportXMLOptionsKit::Equals ( ExportXMLOptionsKit const &  in_kit) const

Check if the source ExportXMLOptionsKit is equivalent to this ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to compare to this ExportXMLOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
static ExportXMLOptionsKit Exchange::ExportXMLOptionsKit::GetDefault ( )
static

Creates an ExportXMLOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File::ExportXML.

Returns
An ExportXMLOptionsKit with the default settings.
Type Exchange::ExportXMLOptionsKit::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from Object.

bool Exchange::ExportXMLOptionsKit::operator!= ( ExportXMLOptionsKit const &  in_kit) const

Check if the source ExportXMLOptionsKit is not equivalent to this ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to compare to this ExportXMLOptionsKit.
Returns
true if the objects are not equivalent, false otherwise.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::operator= ( ExportXMLOptionsKit const &  in_kit)

Copies the source ExportXMLOptionsKit into this ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to copy.
Returns
A reference to this ExportXMLOptionsKit.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::operator= ( ExportXMLOptionsKit &&  in_that)

The move assignment operator transfers the underlying object of the rvalue reference to this ExportXMLOptionsKit.

Parameters
in_thatAn rvalue reference to an ExportXMLOptionsKit to take the underlying object from.
Returns
A reference to this ExportXMLOptionsKit.
bool Exchange::ExportXMLOptionsKit::operator== ( ExportXMLOptionsKit const &  in_kit) const

Check if the source ExportXMLOptionsKit is equivalent to this ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to compare to this ExportXMLOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
void Exchange::ExportXMLOptionsKit::Set ( ExportXMLOptionsKit const &  in_kit)

Copies the source ExportXMLOptionsKit into this ExportXMLOptionsKit.

Parameters
in_kitThe source ExportXMLOptionsKit to copy.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::SetMaterials ( bool  in_state)

Sets whether to export materials. This corresponds to the value that will be passed to A3DRWParamsExportXMLData::m_bExportColorMaterial.

Parameters
in_stateWhether to export materials.
Returns
A reference to this ExportXMLOptionsKit.
See also
Default value
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::SetMetadata ( bool  in_state)

Sets whether to export metadata. This corresponds to the value that will be passed to A3DRWParamsExportXMLData::m_bExportMetadata.

Parameters
in_stateWhether to export metadata.
Returns
A reference to this ExportXMLOptionsKit.
See also
Default value
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::SetTransformations ( bool  in_state)

Sets whether to export transformations. This corresponds to the value that will be passed to A3DRWParamsExportXMLData::m_bExportTransformations.

Parameters
in_stateWhether to export transformations.
Returns
A reference to this ExportXMLOptionsKit.
See also
Default value
void Exchange::ExportXMLOptionsKit::Show ( ExportXMLOptionsKit out_kit) const

Copies this ExportXMLOptionsKit into the given ExportXMLOptionsKit.

Parameters
out_kitThe ExportXMLOptionsKit to populate with the contents of this ExportXMLOptionsKit.
bool Exchange::ExportXMLOptionsKit::ShowMaterials ( bool &  out_state) const

Shows the material export setting.

Parameters
out_stateWhether to export materials.
Returns
true if a material export setting was specified, false otherwise.
bool Exchange::ExportXMLOptionsKit::ShowMetadata ( bool &  out_state) const

Shows the metadata export setting.

Parameters
out_stateWhether to export metadata.
Returns
true if a metadata export setting was specified, false otherwise.
bool Exchange::ExportXMLOptionsKit::ShowTransformations ( bool &  out_state) const

Shows the transformation export setting.

Parameters
out_stateWhether to export transformations.
Returns
true if a transformation export setting was specified, false otherwise.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::UnsetEverything ( )

Removes all settings from this ExportXMLOptionsKit.

Returns
A reference to this ExportXMLOptionsKit.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::UnsetMaterials ( )

Removes the material export setting.

Returns
A reference to this ExportXMLOptionsKit.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::UnsetMetadata ( )

Removes the metadata export setting.

Returns
A reference to this ExportXMLOptionsKit.
ExportXMLOptionsKit& Exchange::ExportXMLOptionsKit::UnsetTransformations ( )

Removes the transformation export setting.

Returns
A reference to this ExportXMLOptionsKit.

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