#include <FCDAsset.h>
Inheritance diagram for FCDAssetContributor:
Public Member Functions | |
FCDAssetContributor (FCDocument *document) | |
Constructor. | |
virtual | ~FCDAssetContributor () |
Destructor. | |
const fstring & | GetAuthor () const |
Retrieves the name of the user that applied this contributor. | |
void | SetAuthor (const fstring &_author) |
Sets the name of the user that applies the current contributor. | |
const fstring & | GetAuthoringTool () const |
Retrieves the name of the contributor. | |
void | SetAuthoringTool (const fstring &_authoringTool) |
Sets the name of the current contributor. | |
const fstring & | GetComments () const |
Retrieves the contributor's comment about the asset. | |
void | SetComments (const fstring &_comments) |
Sets the contributor's comment about the asset. | |
const fstring & | GetCopyright () const |
Retrieves the copyright information for the asset. | |
void | SetCopyright (const fstring &_copyright) |
Sets the copyright information for the asset. | |
const fstring & | GetSourceData () const |
Retrieves the URI of the source data used by the contributor to generate the COLLADA asset. | |
void | SetSourceData (const fstring &_sourceData) |
Sets the URI of the source data used by the contributor to generate the COLLADA asset. | |
bool | IsEmpty () const |
Retrieves whether this contributor structure has any useful information. | |
FCDAssetContributor * | Clone (FCDAssetContributor *clone=NULL) const |
Clones a contributor structure. |
The asset contributor represent each step that the COLLADA document has taken, in terms of applications and conditioners, in order to get to its current state.
Every COLLADA application and conditioner that modifies an asset should therefore attach its signature, in the form of a contributor, to the asset.
|
Constructor.
|
|
Clones a contributor structure.
|
|
Retrieves the name of the user that applied this contributor.
|
|
Retrieves the name of the contributor.
|
|
Retrieves the contributor's comment about the asset.
|
|
Retrieves the copyright information for the asset.
|
|
Retrieves the URI of the source data used by the contributor to generate the COLLADA asset.
|
|
Retrieves whether this contributor structure has any useful information.
|
|
Sets the name of the user that applies the current contributor. It is suggested to use the following code snippet: const char* userName = getenv("USER"); if (userName == NULL) userName = getenv("USERNAME"); if (userName != NULL) contributor->SetAuthor(TO_FSTRING(userName));
|
|
Sets the name of the current contributor. It is suggested that the version number of the contributor be included.
|
|
Sets the contributor's comment about the asset. For document-level assets, it is suggested, for debugging purposes, to write down all the user-selected export options instead of actual user text input.
|
|
Sets the copyright information for the asset.
|
|
Sets the URI of the source data used by the contributor to generate the COLLADA asset.
|