11#ifndef GI_GBPE_VMEP_HPP
12#define GI_GBPE_VMEP_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/gbpe/Attestation.hpp"
26 :
public opflex::modb::mointernal::MO
33 static const opflex::modb::class_id_t
CLASS_ID = 35;
48 boost::optional<const std::string&>
getUuid()
102 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::VMEp> >
resolve(
104 const opflex::modb::URI&
uri)
120 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::VMEp> >
resolve(
121 const opflex::modb::URI&
uri)
123 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::VMEp>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
142 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::VMEp> >
resolve(
164 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::VMEp> >
resolve(
226 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::Attestation>(
254 const opflex::modb::URI&
uri)
271 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
328 opflex::modb::ObjectListener*
listener)
330 opflex::modb::mointernal
346 opflex::modb::ObjectListener*
listener)
359 opflex::modb::ObjectListener*
listener)
361 opflex::modb::mointernal
372 opflex::modb::ObjectListener*
listener)
383 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Attestation from the managed object store.
Definition Attestation.hpp:210
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMEp > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of VMEp from the managed object store.
Definition VMEp.hpp:102
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition VMEp.hpp:345
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition VMEp.hpp:326
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMEp > > resolve(const std::string &gbpeVMEpUuid)
Retrieve an instance of VMEp from the default managed object store by constructing its URI from the p...
Definition VMEp.hpp:164
void remove()
Remove this instance using the currently-active mutator.
Definition VMEp.hpp:238
modelgbp::gbpe::VMEp & setUuid(const std::string &newValue)
Set uuid to the specified value in the currently-active mutator.
Definition VMEp.hpp:73
void resolveGbpeAttestation(std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation.
Definition VMEp.hpp:224
static void remove(const opflex::modb::URI &uri)
Remove the VMEp object with the specified URI using the currently-active mutator and the default fram...
Definition VMEp.hpp:269
bool isUuidSet()
Check whether uuid has been set.
Definition VMEp.hpp:39
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for VMEp.
Definition VMEp.hpp:33
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveGbpeAttestation(const std::string &gbpeAttestationName)
Retrieve the child object with the specified naming properties.
Definition VMEp.hpp:181
boost::optional< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition VMEp.hpp:48
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMEp > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of VMEp from the managed object store using the default framework instance.
Definition VMEp.hpp:120
static void remove(const std::string &gbpeVMEpUuid)
Remove the VMEp object with the specified path elements from the managed object store using the defau...
Definition VMEp.hpp:309
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the VMEp object with the specified URI using the currently-active mutator.
Definition VMEp.hpp:253
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition VMEp.hpp:357
static void remove(opflex::ofcore::OFFramework &framework, const std::string &gbpeVMEpUuid)
Remove the VMEp object with the specified path elements from the managed object store.
Definition VMEp.hpp:288
const std::string & getUuid(const std::string &defaultValue)
Get the value of uuid if set, otherwise the value of default passed in.
Definition VMEp.hpp:60
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition VMEp.hpp:371
VMEp(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of VMEp.
Definition VMEp.hpp:381
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMEp > > resolve(opflex::ofcore::OFFramework &framework, const std::string &gbpeVMEpUuid)
Retrieve an instance of VMEp from the managed object store by constructing its URI from the path elem...
Definition VMEp.hpp:142
OF_SHARED_PTR< modelgbp::gbpe::Attestation > addGbpeAttestation(const std::string &gbpeAttestationName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition VMEp.hpp:199
modelgbp::gbpe::VMEp & unsetUuid()
Unset uuid in the currently-active mutator.
Definition VMEp.hpp:85
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12