14 #ifndef MODB_MUTATOR_H
15 #define MODB_MUTATOR_H
68 Mutator(
const std::string& owner);
78 const std::string& owner);
128 const URI& parent_uri,
131 const URI& child_uri);
135 friend class MutatorImpl;
~Mutator()
Destroy the Mutator.
void commit()
Commit the changes stored in the mutator to the object store.
A mutator represents a set of changes to apply to the data store.
Definition: Mutator.h:60
Mutator(const std::string &owner)
Create a mutator that will work with the default framework instance and owner.
Main interface to the OpFlex framework.
Definition: OFFramework.h:644
An internal instance of an object in the managed object store.
Definition: ObjectInstance.h:58
boost::shared_ptr< mointernal::ObjectInstance > & addChild(class_id_t parent_class, const URI &parent_uri, prop_id_t parent_prop, class_id_t child_class, const URI &child_uri)
Create a new child object with the specified class and URI, and make it a child of the given parent...
Interface definition file for ObjectInstance.
boost::shared_ptr< mointernal::ObjectInstance > & modify(class_id_t class_id, const URI &uri)
Create a new mutable object with the given URI which is a copy of any existing object with the specif...
A URI is used to identify managed objects in the MODB.
Definition: URI.h:41
Interface definition file for URIs.