swift
Public Member Functions | List of all members
swift::misc::CMemoTable< T > Class Template Reference

A data memoization pattern useful for compressing JSON representations of containers. More...

Public Member Functions

int getIndex (const T &value)
 Return the index of a value, inserting it if it is not already in the table.
 
const CSequence< T > & getTable () const
 Return the values in the table as a flat list.
 

Detailed Description

template<typename T>
class swift::misc::CMemoTable< T >

A data memoization pattern useful for compressing JSON representations of containers.

Definition at line 18 of file memotable.h.


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