Skip to content

Class star::LayerMetadataAccessor

ClassList > star > LayerMetadataAccessor

Metadata accessor for a specific layer with inheritance. More...

  • #include <stards.h>

Public Functions

Type Name
LayerMetadataAccessor (StarDataset * store, const std::string & layer_name)
bool contains (const std::string & key) const
std::shared_ptr< MetadataValue > get (const std::string & key)
std::vector< std::string > keys () const
void put (const std::string & key, const V & value)
void remove (const std::string & key)

Detailed Description

Provides layer-specific metadata operations with automatic fallback to base layer. When getting metadata, checks layer first, then falls back to base if not found. When putting metadata, stores in layer-specific namespace.

Public Functions Documentation

function LayerMetadataAccessor

inline star::LayerMetadataAccessor::LayerMetadataAccessor (
    StarDataset * store,
    const std::string & layer_name
) 

function contains

inline bool star::LayerMetadataAccessor::contains (
    const std::string & key
) const

function get

inline std::shared_ptr< MetadataValue > star::LayerMetadataAccessor::get (
    const std::string & key
) 

function keys

inline std::vector< std::string > star::LayerMetadataAccessor::keys () const

function put

template<typename V>
inline void star::LayerMetadataAccessor::put (
    const std::string & key,
    const V & value
) 

function remove

inline void star::LayerMetadataAccessor::remove (
    const std::string & key
) 


The documentation for this class was generated from the following file StarDS/include/stards.h