Katana Plug-in APIs 0.1
Static Public Member Functions

Foundry::Katana::ViewerAPI::OptionIdGenerator Class Reference

List of all members.

Static Public Member Functions

static value_type GenerateId (const char *text)
 Generates an option ID from a string.
static const char * LookUpOptionId (value_type hash)
 Returns the string used to generate an option ID.

Member Function Documentation

static value_type Foundry::Katana::ViewerAPI::OptionIdGenerator::GenerateId ( const char *  text) [static]

Generates an option ID from a string.

The bottom 16 bits of the ID are not used and reserved for user specified cases.

static const char* Foundry::Katana::ViewerAPI::OptionIdGenerator::LookUpOptionId ( value_type  hash) [static]

Returns the string used to generate an option ID.

Note that this function can only return a result if the option ID was create prior to this call via GenerateId().


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations Enumerator