Classes | |
| struct | TokenEntry |
| struct | RenderPathData |
Macros | |
| #define | ID_TOKEN_LIB |
| #define | INVALID_FRAME |
Typedefs | |
| typedef String | TOKENHOOK(void *data) |
Functions | |
| Bool | GetAllTokenEntries (maxon::BaseArray< TokenEntry > &tokenList) |
| String | StringConvertTokens (const String &path, const RenderPathData *rpData) |
| Filename | FilenameConvertTokens (const Filename &path, const RenderPathData *rpData) |
| String | StringConvertTokensFilter (const String &path, const RenderPathData *rpData, const maxon::BaseArray< String > &exclude) |
| Filename | FilenameConvertTokensFilter (const Filename &path, const RenderPathData *rpData, const maxon::BaseArray< String > &exclude) |
| String | StringExtractRoot (const String &path) |
| Filename | FilenameExtractRoot (const Filename &path) |
| Bool | FilenameSlicePath (const Filename &path, Filename &root, Filename &fileName) |
| Bool | RegisterToken (const String &key, const String &help, const String &example, TOKENHOOK *hook) |
| Bool | RegisterHiddenToken (const String &key, const String &help, const String &example, TOKENHOOK *hook) |
| #define ID_TOKEN_LIB |
Token library ID.
| #define INVALID_FRAME |
Private.
| typedef String TOKENHOOK(void *data) |
Token hook definition. Use RegisterToken() to register a custom Token.
Here is an example from the Take Token:
| Bool GetAllTokenEntries | ( | maxon::BaseArray< TokenEntry > & | tokenList | ) |
Fills a list will all available Token entries.
| [out] | tokenList | The array to be filled. |
| String StringConvertTokens | ( | const String & | path, |
| const RenderPathData * | rpData | ||
| ) |
Converts tokenized path String to standard String by replacing all Tokens with correct values if found.
| [in] | path | The original path String. |
| [in] | rpData | The data used to extract value for Tokens. The caller owns the pointed RenderPathData. |
| Filename FilenameConvertTokens | ( | const Filename & | path, |
| const RenderPathData * | rpData | ||
| ) |
Converts tokenized path Filename into standard Filename by replacing all Tokens with correct values if found.
| [in] | path | The original path Filename. |
| [in] | rpData | The data used to extract value for Tokens. The caller owns the pointed RenderPathData. |
| String StringConvertTokensFilter | ( | const String & | path, |
| const RenderPathData * | rpData, | ||
| const maxon::BaseArray< String > & | exclude | ||
| ) |
Converts tokenized path String to standard String by replacing all Tokens with correct values if found. Tokens added to exclude array are ignored.
| [in] | path | The original path String. |
| [in] | rpData | The data used to extract value for the Tokens. The caller owns the pointed RenderPathData. |
| [in] | exclude | A list of Tokens strings to be ignored. |
| Filename FilenameConvertTokensFilter | ( | const Filename & | path, |
| const RenderPathData * | rpData, | ||
| const maxon::BaseArray< String > & | exclude | ||
| ) |
Converts tokenized path Filename into standard Filename by replacing all Tokens with correct values if found. Tokens added to exclude array are ignored.
| [in] | path | The original path Filename. |
| [in] | rpData | The data used to extract value for Tokens. The caller owns the pointed RenderPathData. |
| [in] | exclude | A list of Tokens strings to be ignored. |
| Bool RegisterToken | ( | const String & | key, |
| const String & | help, | ||
| const String & | example, | ||
| TOKENHOOK * | hook | ||
| ) |
Registers a new Token that can be used in a render filename.
| [in] | key | The key string for the Token itself without the "$". |
| [in] | help | An help string used to show the Token in the menu. |
| [in] | example | An example string for the use of the Token. |
| [in] | hook | An implemented TOKENHOOK used to define the string to replace the Token. |
| Bool RegisterHiddenToken | ( | const String & | key, |
| const String & | help, | ||
| const String & | example, | ||
| TOKENHOOK * | hook | ||
| ) |
Registers a new Token that can be used in a render filename but hides it from the render filename menu.
| [in] | key | The key string for the Token itself without the "$". |
| [in] | help | An help string used to show the Token in the menu. |
| [in] | example | An example string for the use of the Token. |
| [in] | hook | An implemented TOKENHOOK used to define the string to replace the Token. |