Class StringDictionaryProxy::IdMapΒΆ

class IdMap

Public Functions

IdMap(uint32_t const tran_size, uint32_t const dict_size)
IdMap(IdMap const&)
IdMap(IdMap&&)
bool empty() const
size_t getIndex(int32_t const id) const
std::vector<int32_t> const &getVectorMap() const
size_t size() const
size_t numTransients() const
size_t numNonTransients() const
int32_t *data()
int32_t const *data() const
int32_t domainStart() const
int32_t domainEnd() const
size_t numUntranslatedStrings() const
void setNumUntranslatedStrings(const size_t num_untranslated_strings)
int32_t *storageData()
int32_t &operator[](int32_t const id)
int32_t operator[](int32_t const id) const

Private Members

size_t const offset_
std::vector<int32_t> vector_map_
int64_t num_untranslated_strings_ = {-1}

Friends

std::ostream &operator<<(std::ostream &os, IdMap const &id_map)