Horizon
Loading...
Searching...
No Matches
horizon::Blocks Class Reference
Inheritance diagram for horizon::Blocks:
horizon::BlocksBase horizon::IBlockProvider

Public Member Functions

 Blocks (const json &j, const std::string &base_path, IPool &pool)
 Blocks (const Blocks &other)
BlockItemget_top_block_item ()
const BlockItemget_top_block_item () const
Blockget_block (const UUID &uu) override
std::map< UUID, Block * > get_blocks () override
Blockget_top_block () override
json serialize () const

Static Public Member Functions

static Blocks new_from_file (const std::string &filename, IPool &pool)
Static Public Member Functions inherited from horizon::BlocksBase
static std::map< std::string, std::string > peek_project_meta (const std::string &filename)
static std::vector< std::string > peek_filenames (const std::string &filename)
static unsigned int get_app_version ()

Public Attributes

std::map< UUID, BlockItemblocks
Public Attributes inherited from horizon::BlocksBase
std::string base_path
UUID top_block
FileVersion version

Additional Inherited Members

Protected Member Functions inherited from horizon::BlocksBase
 BlocksBase (const BlocksBase &other)
 BlocksBase (const json &j, const std::string &base_path)
std::vector< BlockItemInfoblocks_sorted_from_json (const json &j) const
json serialize_base () const

Member Function Documentation

◆ get_block()

Block & horizon::Blocks::get_block ( const UUID & uu)
overridevirtual

◆ get_blocks()

std::map< UUID, Block * > horizon::Blocks::get_blocks ( )
overridevirtual

◆ get_top_block()

Block & horizon::Blocks::get_top_block ( )
overridevirtual

The documentation for this class was generated from the following files: