Skip to content

Project OpenGeode

class ComponentsStorage

Functions

nb_components

cpp
public index_t nb_components()
public index_t nb_components()

has_component

cpp
public bool has_component(const uuid & id)
public bool has_component(const uuid & id)

component

cpp
public const Component & component(const uuid & id)
public const Component & component(const uuid & id)

component

cpp
public Component & component(const uuid & id)
public Component & component(const uuid & id)

begin

cpp
public Iterator begin()
public Iterator begin()

end

cpp
public Iterator end()
public Iterator end()

add_component

cpp
public void add_component(ComponentPtr component)
public void add_component(ComponentPtr component)

save_components

cpp
public void save_components(basic_string_view filename)
public void save_components(basic_string_view filename)

delete_component

cpp
public void delete_component(const uuid & id)
public void delete_component(const uuid & id)

load_components

cpp
public void load_components(basic_string_view filename)
public void load_components(basic_string_view filename)

file_mapping

cpp
public flat_hash_map file_mapping(basic_string_view directory)
public flat_hash_map file_mapping(basic_string_view directory)

Geode-solutions' documentation website