FCDEffectParameterBool Class Reference

A COLLADA boolean effect parameter. More...

#include <FCDEffectParameter.h>

Inheritance diagram for FCDEffectParameterBool:

FCDEffectParameter FCDObject FUObject List of all members.

Public Member Functions

 FCDEffectParameterBool (FCDocument *document)
 Constructor: do not use directly.
virtual ~FCDEffectParameterBool ()
 Destructor: do not use directly.
virtual Type GetType () const
 Retrieves the type of effect parameter class.
bool GetValue () const
 Retrieves the boolean value of the effect parameter.
void SetValue (bool _value)
 Sets the boolean value of the effect parameter.
virtual FCDEffectParameterClone ()
 Creates a full copy of the effect parameter.
virtual void Overwrite (FCDEffectParameter *target)
 [INTERNAL] Overwrites the target parameter with this parameter.
virtual FUStatus LoadFromXML (xmlNode *parameterNode)
 [INTERNAL] Reads in the effect parameter from a given COLLADA XML tree node.
virtual xmlNode * WriteToXML (xmlNode *parentNode) const
 [INTERNAL] Writes out the effect parameter to the given COLLADA XML tree node.

Detailed Description

A COLLADA boolean effect parameter.

Contains a single, unanimated boolean.


Constructor & Destructor Documentation

FCDEffectParameterBool::FCDEffectParameterBool FCDocument document  ) 
 

Constructor: do not use directly.

Instead, use the FCDEffectParameterList::AddParameter function.

Parameters:
document The COLLADA document that owns the effect parameter.

virtual FCDEffectParameterBool::~FCDEffectParameterBool  )  [virtual]
 

Destructor: do not use directly.

Instead, use the FCDEffectParameterList::ReleaseParameter function. When released, the effect parameter list will also release all its parameters, if it owns them.


Member Function Documentation

virtual FCDEffectParameter* FCDEffectParameterBool::Clone  )  [virtual]
 

Creates a full copy of the effect parameter.

Returns:
The cloned effect parameter. You will need to delete this pointer.

Implements FCDEffectParameter.

virtual Type FCDEffectParameterBool::GetType  )  const [inline, virtual]
 

Retrieves the type of effect parameter class.

Returns:
The parameter class type: BOOLEAN.

Implements FCDEffectParameter.

bool FCDEffectParameterBool::GetValue  )  const [inline]
 

Retrieves the boolean value of the effect parameter.

Returns:
The boolean value.

virtual FUStatus FCDEffectParameterBool::LoadFromXML xmlNode *  parameterNode  )  [virtual]
 

[INTERNAL] Reads in the effect parameter from a given COLLADA XML tree node.

Parameters:
parameterNode The COLLADA XML tree node.
Returns:
The status of the import. If the status is not successful, it may be dangerous to extract information from the parameter.

Reimplemented from FCDEffectParameter.

virtual void FCDEffectParameterBool::Overwrite FCDEffectParameter target  )  [virtual]
 

[INTERNAL] Overwrites the target parameter with this parameter.

This function is used during the flattening of materials.

Parameters:
target The target parameter to overwrite.

Reimplemented from FCDEffectParameter.

void FCDEffectParameterBool::SetValue bool  _value  )  [inline]
 

Sets the boolean value of the effect parameter.

Parameters:
_value The boolean value.

virtual xmlNode* FCDEffectParameterBool::WriteToXML xmlNode *  parentNode  )  const [virtual]
 

[INTERNAL] Writes out the effect parameter to the given COLLADA XML tree node.

Parameters:
parentNode The COLLADA XML parent node in which to insert the parameter.
Returns:
The created element XML tree node.

Reimplemented from FCDEffectParameter.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:41 2006 for FCollada by  doxygen 1.4.6-NO