cheshirekow
v0.1.0
|
base class for a map of string names -> object RefPtrs More...
#include <mpblocks/gtk/LayoutMap.h>
Public Types | |
typedef std::map< std::string, Glib::RefPtr< Object_t > > | Map_t |
the map type stored by this base class More... | |
Public Member Functions | |
void | init (std::string key) |
adds a key to the map with an empty reference More... | |
void | load (const Glib::RefPtr< Gtk::Builder > &builder) |
retrieves RefPtrs for all the objects whose keys have been entered More... | |
void | read (YAML::Node &) |
read in values for any of the objects in our map More... | |
void | write (YAML::Emitter &) |
write out the values for all of the objects in our map More... | |
Protected Attributes | |
Map_t | m_map |
the actual map More... | |
base class for a map of string names -> object RefPtrs
Definition at line 65 of file LayoutMap.h.
typedef std::map<std::string, Glib::RefPtr<Object_t> > mpblocks::gtk::ObjectMapBase< Object_t >::Map_t |
the map type stored by this base class
Definition at line 68 of file LayoutMap.h.
void mpblocks::gtk::ObjectMapBase< Object_t >::init | ( | std::string | key | ) |
adds a key to the map with an empty reference
void mpblocks::gtk::ObjectMapBase< Object_t >::load | ( | const Glib::RefPtr< Gtk::Builder > & | builder | ) |
retrieves RefPtrs for all the objects whose keys have been entered
void mpblocks::gtk::ObjectMapBase< Object_t >::read | ( | YAML::Node & | ) |
read in values for any of the objects in our map
void mpblocks::gtk::ObjectMapBase< Object_t >::write | ( | YAML::Emitter & | ) |
write out the values for all of the objects in our map
|
protected |
the actual map
Definition at line 72 of file LayoutMap.h.