OpenDAFF C++ API  v1.7
Directional Audio File Format
Public Member Functions | List of all members
DAFFMetadataImpl Class Reference

#include <DAFFMetadataImpl.h>

Inheritance diagram for DAFFMetadataImpl:
DAFFMetadata

Public Member Functions

 DAFFMetadataImpl ()
 
 ~DAFFMetadataImpl ()
 
int load (void *pData, size_t &iBytesRead)
 
bool isEmpty () const
 Returns if metadata does not contain any keys. More...
 
bool hasKey (const std::string &sKey) const
 Checks for existence of a key. More...
 
void getKeys (std::vector< std::string > &vsKeyList) const
 Returns a list of all keys. More...
 
int getKeyType (const std::string &sKey) const
 Returns the datatype of a key. More...
 
std::string getKeyString (const std::string &sKey) const
 Returns the value of a string key. More...
 
bool getKeyBool (const std::string &sKey) const
 Returns the value (true|false) of a boolean key. More...
 
int getKeyInt (const std::string &sKey) const
 Returns the value of a integer number key. More...
 
double getKeyFloat (const std::string &sKey) const
 Returns the value of a floating-point number key. More...
 
std::string toString () const
 Return information on the metadata as string. More...
 

Additional Inherited Members

 Metadata types. More...

Detailed Description

Definition at line 21 of file DAFFMetadataImpl.h.

Constructor & Destructor Documentation

DAFFMetadataImpl::DAFFMetadataImpl ( )

Definition at line 58 of file DAFFMetadataImpl.cpp.

DAFFMetadataImpl::~DAFFMetadataImpl ( )

Definition at line 129 of file DAFFMetadataImpl.cpp.

Member Function Documentation

bool DAFFMetadataImpl::getKeyBool ( const std::string &  sKey) const
virtual

Returns the value (true|false) of a boolean key.

Implements DAFFMetadata.

Definition at line 184 of file DAFFMetadataImpl.cpp.

double DAFFMetadataImpl::getKeyFloat ( const std::string &  sKey) const
virtual

Returns the value of a floating-point number key.

Note: This method may also be called for INT keys

Implements DAFFMetadata.

Definition at line 202 of file DAFFMetadataImpl.cpp.

int DAFFMetadataImpl::getKeyInt ( const std::string &  sKey) const
virtual

Returns the value of a integer number key.

Implements DAFFMetadata.

Definition at line 193 of file DAFFMetadataImpl.cpp.

void DAFFMetadataImpl::getKeys ( std::vector< std::string > &  vsKeyList) const
virtual

Returns a list of all keys.

Implements DAFFMetadata.

Definition at line 145 of file DAFFMetadataImpl.cpp.

std::string DAFFMetadataImpl::getKeyString ( const std::string &  sKey) const
virtual

Returns the value of a string key.

Note: This method may be called for every key, no matter what type

Implements DAFFMetadata.

Definition at line 156 of file DAFFMetadataImpl.cpp.

int DAFFMetadataImpl::getKeyType ( const std::string &  sKey) const
virtual

Returns the datatype of a key.

Implements DAFFMetadata.

Definition at line 151 of file DAFFMetadataImpl.cpp.

bool DAFFMetadataImpl::hasKey ( const std::string &  sKey) const
virtual

Checks for existence of a key.

Implements DAFFMetadata.

Definition at line 141 of file DAFFMetadataImpl.cpp.

bool DAFFMetadataImpl::isEmpty ( ) const
virtual

Returns if metadata does not contain any keys.

Implements DAFFMetadata.

Definition at line 136 of file DAFFMetadataImpl.cpp.

int DAFFMetadataImpl::load ( void *  pData,
size_t &  iBytesRead 
)

Definition at line 60 of file DAFFMetadataImpl.cpp.

std::string DAFFMetadataImpl::toString ( ) const
virtual

Return information on the metadata as string.

Implements DAFFMetadata.

Definition at line 216 of file DAFFMetadataImpl.cpp.


The documentation for this class was generated from the following files:
OpenDAFF is a project from the Institute of Technical Acoustics, RWTH Aachen University, Germany.