Public Types | Public Member Functions | List of all members
util::LiteralDict< T > Class Template Reference
+ Inheritance diagram for util::LiteralDict< T >:
+ Collaboration diagram for util::LiteralDict< T >:

Public Types

typedef T Literal
 
- Public Types inherited from util::LiteralDictBase
enum  { kMaxAlphabetSize = (1 << 14) - 1, kInvalidId = kMaxAlphabetSize + 1 }
 
typedef uint16 SymbId
 

Public Member Functions

void Add (T val)
 
size_t alphabet_size () const
 
FromId (SymbId i) const
 
SymbId Resolve (T t) const
 
bool Resolve (const T *src, uint32_t count, SymbId *dest)
 
void Clear ()
 
size_t SerializeTo (uint8_t *dest) const
 
size_t GetMaxSerializedSize () const
 
void Build ()
 
size_t dict_size () const
 

Detailed Description

template<typename T>
class util::LiteralDict< T >

Definition at line 44 of file set_encoder.h.


The documentation for this class was generated from the following files: