#include <metadata.h>
|
| | Metadata () |
| | Metadata (const Metadata &metadata) |
| void | AddEntryInt (const std::string &name, int32_t value) |
| bool | GetEntryInt (const std::string &name, int32_t *value) const |
| void | AddEntryIntArray (const std::string &name, const std::vector< int32_t > &value) |
| bool | GetEntryIntArray (const std::string &name, std::vector< int32_t > *value) const |
| void | AddEntryDouble (const std::string &name, double value) |
| bool | GetEntryDouble (const std::string &name, double *value) const |
| void | AddEntryDoubleArray (const std::string &name, const std::vector< double > &value) |
| bool | GetEntryDoubleArray (const std::string &name, std::vector< double > *value) const |
| void | AddEntryString (const std::string &name, const std::string &value) |
| bool | GetEntryString (const std::string &name, std::string *value) const |
| void | AddEntryBinary (const std::string &name, const std::vector< uint8_t > &value) |
| bool | GetEntryBinary (const std::string &name, std::vector< uint8_t > *value) const |
| bool | AddSubMetadata (const std::string &name, std::unique_ptr< Metadata > sub_metadata) |
| const Metadata * | GetSubMetadata (const std::string &name) const |
| Metadata * | sub_metadata (const std::string &name) |
| void | RemoveEntry (const std::string &name) |
| int | num_entries () const |
| const std::map< std::string, EntryValue > & | entries () const |
| const std::map< std::string, std::unique_ptr< Metadata > > & | sub_metadatas () const |
◆ Metadata() [1/2]
| draco::Metadata::Metadata |
( |
| ) |
|
|
inline |
◆ Metadata() [2/2]
| draco::Metadata::Metadata |
( |
const Metadata & | metadata | ) |
|
◆ AddEntryBinary()
| void draco::Metadata::AddEntryBinary |
( |
const std::string & | name, |
|
|
const std::vector< uint8_t > & | value ) |
◆ AddEntryDouble()
| void draco::Metadata::AddEntryDouble |
( |
const std::string & | name, |
|
|
double | value ) |
◆ AddEntryDoubleArray()
| void draco::Metadata::AddEntryDoubleArray |
( |
const std::string & | name, |
|
|
const std::vector< double > & | value ) |
◆ AddEntryInt()
| void draco::Metadata::AddEntryInt |
( |
const std::string & | name, |
|
|
int32_t | value ) |
◆ AddEntryIntArray()
| void draco::Metadata::AddEntryIntArray |
( |
const std::string & | name, |
|
|
const std::vector< int32_t > & | value ) |
◆ AddEntryString()
| void draco::Metadata::AddEntryString |
( |
const std::string & | name, |
|
|
const std::string & | value ) |
◆ AddSubMetadata()
| bool draco::Metadata::AddSubMetadata |
( |
const std::string & | name, |
|
|
std::unique_ptr< Metadata > | sub_metadata ) |
◆ entries()
| const std::map< std::string, EntryValue > & draco::Metadata::entries |
( |
| ) |
const |
|
inline |
◆ GetEntryBinary()
| bool draco::Metadata::GetEntryBinary |
( |
const std::string & | name, |
|
|
std::vector< uint8_t > * | value ) const |
◆ GetEntryDouble()
| bool draco::Metadata::GetEntryDouble |
( |
const std::string & | name, |
|
|
double * | value ) const |
◆ GetEntryDoubleArray()
| bool draco::Metadata::GetEntryDoubleArray |
( |
const std::string & | name, |
|
|
std::vector< double > * | value ) const |
◆ GetEntryInt()
| bool draco::Metadata::GetEntryInt |
( |
const std::string & | name, |
|
|
int32_t * | value ) const |
◆ GetEntryIntArray()
| bool draco::Metadata::GetEntryIntArray |
( |
const std::string & | name, |
|
|
std::vector< int32_t > * | value ) const |
◆ GetEntryString()
| bool draco::Metadata::GetEntryString |
( |
const std::string & | name, |
|
|
std::string * | value ) const |
◆ GetSubMetadata()
| const Metadata * draco::Metadata::GetSubMetadata |
( |
const std::string & | name | ) |
const |
◆ num_entries()
| int draco::Metadata::num_entries |
( |
| ) |
const |
|
inline |
◆ RemoveEntry()
| void draco::Metadata::RemoveEntry |
( |
const std::string & | name | ) |
|
◆ sub_metadata()
| Metadata * draco::Metadata::sub_metadata |
( |
const std::string & | name | ) |
|
◆ sub_metadatas()
| const std::map< std::string, std::unique_ptr< Metadata > > & draco::Metadata::sub_metadatas |
( |
| ) |
const |
|
inline |
◆ MetadataHasher
| friend struct MetadataHasher |
|
friend |
The documentation for this class was generated from the following files: