8#ifndef CONFFWK_CONFIGURATION__CHANGE_H_
9#define CONFFWK_CONFIGURATION__CHANGE_H_
80 static void add(std::vector<ConfigurationChange *>& changes,
81 const std::string& class_name,
82 const std::string& obj_id,
93 static void clear(std::vector<ConfigurationChange *>& changes);
121std::ostream&
operator<<(std::ostream&,
const std::vector<ConfigurationChange *>&);
Describes changes inside a class returned by the notification mechanism.
const std::vector< std::string > & get_created_objs() const
Return vector of identies of created objects.
std::vector< std::string > m_removed
ConfigurationChange & operator=(const ConfigurationChange &)
ConfigurationChange(const std::string &name)
static void clear(std::vector< ConfigurationChange * > &changes)
Helper method to clear vector of changes (pointers).
ConfigurationChange(const ConfigurationChange &)
std::vector< std::string > m_created
std::vector< std::string > m_modified
const std::string & get_class_name() const
Get name of class which objects were modified.
static void add(std::vector< ConfigurationChange * > &changes, const std::string &class_name, const std::string &obj_id, const char action)
Helper method to add object to the vector of existing changes.
const std::vector< std::string > & get_modified_objs() const
Return vector of identies of modified objects.
const std::vector< std::string > & get_removed_objs() const
Return vector of identies of removed objects.
Provides pure virtual interface used by the Configuration class.
Defines base class for cache of template objects.
std::ostream & operator<<(std::ostream &, const ConfigurationChange &)