HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
token.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/diagnosticLite.h"
#include "pxr/base/tf/hash.h"
#include "pxr/base/tf/hashset.h"
#include "pxr/base/tf/pointerAndBits.h"
#include <atomic>
#include <iosfwd>
#include <string>
#include <vector>
#include <set>
+ Include dependency graph for token.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfToken
 
struct  TfToken::HashFunctor
 Functor to use for hash maps from tokens to other things. More...
 
struct  TfTokenFastArbitraryLessThan
 

Typedefs

typedef std::vector< TfTokenTfTokenVector
 Convenience types. More...
 

Functions

TF_API std::vector< TfTokenTfToTokenVector (const std::vector< std::string > &sv)
 Convert the vector of strings sv into a vector of TfToken. More...
 
TF_API std::vector< std::stringTfToStringVector (const std::vector< TfToken > &tv)
 Convert the vector of TfToken tv into a vector of strings. More...
 
size_t hash_value (const TfToken &x)
 Overload hash_value for TfToken. More...
 

Detailed Description

TfToken class for efficient string referencing and hashing, plus conversions to and from stl string containers.

Definition in file token.h.

Typedef Documentation

typedef std::vector<TfToken> TfTokenVector

Convenience types.

Definition at line 457 of file token.h.

Function Documentation

size_t hash_value ( const TfToken x)
inline

Overload hash_value for TfToken.

Definition at line 454 of file token.h.

TF_API std::vector<std::string> TfToStringVector ( const std::vector< TfToken > &  tv)

Convert the vector of TfToken tv into a vector of strings.

TF_API std::vector<TfToken> TfToTokenVector ( const std::vector< std::string > &  sv)

Convert the vector of strings sv into a vector of TfToken.