try {
_gAmqpListenerWorker.CreateInstance();
+ const uint32 maxStrLen = 4096;
+ if ((argc < 1) || (NULL == argv) || (NULL == argv[0]) || (::strnlen(argv[0], maxStrLen) >= maxStrLen)) {
+ CAF_CM_EXCEPTION_VA0(E_INVALIDARG, "argc/argv are invalid");
+ }
+
#ifdef WIN32
CWinService::initialize(_gAmqpListenerWorker);
CWinService::execute(argc, argv);
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type AddInCollection
-class CAddInCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CAddInCollectionDoc {
public:
- CAddInCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CAddInCollectionDoc() {}
+ CAddInCollectionDoc();
+ virtual ~CAddInCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> addInCollection = std::deque<std::string>()) {
- if (! _isInitialized) {
- _addInCollection = addInCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> addInCollection = std::deque<std::string>());
public:
/// Accessor for the AddIn
- std::deque<std::string> getAddInCollection() const {
- return _addInCollection;
- }
+ std::deque<std::string> getAddInCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type AddIns
-class CAddInsDoc {
+class CAFCORETYPESDOC_LINKAGE CAddInsDoc {
public:
- CAddInsDoc() :
- _isInitialized(false) {}
- virtual ~CAddInsDoc() {}
+ CAddInsDoc();
+ virtual ~CAddInsDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCAddInCollectionDoc> addInCollection = std::deque<SmartPtrCAddInCollectionDoc>()) {
- if (! _isInitialized) {
- _addInCollection = addInCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCAddInCollectionDoc> addInCollection = std::deque<SmartPtrCAddInCollectionDoc>());
public:
/// Accessor for the AddInCollection
- std::deque<SmartPtrCAddInCollectionDoc> getAddInCollection() const {
- return _addInCollection;
- }
+ std::deque<SmartPtrCAddInCollectionDoc> getAddInCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type AttachmentCollection
-class CAttachmentCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CAttachmentCollectionDoc {
public:
- CAttachmentCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CAttachmentCollectionDoc() {}
+ CAttachmentCollectionDoc();
+ virtual ~CAttachmentCollectionDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::deque<SmartPtrCAttachmentDoc> attachment = std::deque<SmartPtrCAttachmentDoc>(),
- const std::deque<SmartPtrCInlineAttachmentDoc> inlineAttachment = std::deque<SmartPtrCInlineAttachmentDoc>()) {
- if (! _isInitialized) {
- _attachment = attachment;
- _inlineAttachment = inlineAttachment;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCInlineAttachmentDoc> inlineAttachment = std::deque<SmartPtrCInlineAttachmentDoc>());
public:
/// Accessor for the Attachment
- std::deque<SmartPtrCAttachmentDoc> getAttachment() const {
- return _attachment;
- }
+ std::deque<SmartPtrCAttachmentDoc> getAttachment() const;
/// Accessor for the InlineAttachment
- std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const {
- return _inlineAttachment;
- }
+ std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const;
private:
bool _isInitialized;
namespace Caf {
/// A simple container for objects of type Attachment
-class CAttachmentDoc {
+class CAFCORETYPESDOC_LINKAGE CAttachmentDoc {
public:
- CAttachmentDoc() :
- _isInitialized(false),
- _isReference(false),
- _cmsPolicy(CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED) {}
- virtual ~CAttachmentDoc() {}
+ CAttachmentDoc();
+ virtual ~CAttachmentDoc();
public:
/// Initializes the object with everything required by this
const std::string type,
const std::string uri,
const bool isReference,
- const CMS_POLICY cmsPolicy = CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _uri = uri;
- _isReference = isReference;
- _cmsPolicy = cmsPolicy;
-
- _isInitialized = true;
- }
- }
+ const CMS_POLICY cmsPolicy = CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Type
- std::string getType() const {
- return _type;
- }
+ std::string getType() const;
/// Accessor for the Uri
- std::string getUri() const {
- return _uri;
- }
+ std::string getUri() const;
/// Accessor for the IsReference
- bool getIsReference() const {
- return _isReference;
- }
+ bool getIsReference() const;
/// Accessor for the CMS Policy
- CMS_POLICY getCmsPolicy() const {
- return _cmsPolicy;
- }
+ CMS_POLICY getCmsPolicy() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type AttachmentNameCollection
-class CAttachmentNameCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CAttachmentNameCollectionDoc {
public:
- CAttachmentNameCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CAttachmentNameCollectionDoc() {}
+ CAttachmentNameCollectionDoc();
+ virtual ~CAttachmentNameCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> name = std::deque<std::string>()) {
- if (! _isInitialized) {
- _name = name;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> name = std::deque<std::string>());
public:
/// Accessor for the Name
- std::deque<std::string> getName() const {
- return _name;
- }
+ std::deque<std::string> getName() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Set of logging levels for different components
-class CAuthnAuthzCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CAuthnAuthzCollectionDoc {
public:
- CAuthnAuthzCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CAuthnAuthzCollectionDoc() {}
+ CAuthnAuthzCollectionDoc();
+ virtual ~CAuthnAuthzCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCAuthnAuthzDoc> authnAuthz = std::deque<SmartPtrCAuthnAuthzDoc>()) {
- if (! _isInitialized) {
- _authnAuthz = authnAuthz;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCAuthnAuthzDoc> authnAuthz = std::deque<SmartPtrCAuthnAuthzDoc>());
public:
/// Used to change the logging level for a specific component
- std::deque<SmartPtrCAuthnAuthzDoc> getAuthnAuthz() const {
- return _authnAuthz;
- }
+ std::deque<SmartPtrCAuthnAuthzDoc> getAuthnAuthz() const;
private:
bool _isInitialized;
namespace Caf {
/// A simple container for objects of type AuthnAuthz
-class CAuthnAuthzDoc {
+class CAFCORETYPESDOC_LINKAGE CAuthnAuthzDoc {
public:
- CAuthnAuthzDoc() :
- _isInitialized(false),
- _sequenceNumber(0) {}
- virtual ~CAuthnAuthzDoc() {}
+ CAuthnAuthzDoc();
+ virtual ~CAuthnAuthzDoc();
public:
/// Initializes the object with everything required by this
const std::string type,
const std::string value,
const std::string name = std::string(),
- const int32 sequenceNumber = 0) {
- if (! _isInitialized) {
- _type = type;
- _value = value;
- _name = name;
- _sequenceNumber = sequenceNumber;
-
- _isInitialized = true;
- }
- }
+ const int32 sequenceNumber = 0);
public:
/// Accessor for the Type
- std::string getType() const {
- return _type;
- }
+ std::string getType() const;
/// Accessor for the Value
- std::string getValue() const {
- return _value;
- }
+ std::string getValue() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the SequenceNumber
- int32 getSequenceNumber() const {
- return _sequenceNumber;
- }
+ int32 getSequenceNumber() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ClassFilters
-class CClassFiltersDoc {
+class CAFCORETYPESDOC_LINKAGE CClassFiltersDoc {
public:
- CClassFiltersDoc() :
- _isInitialized(false) {}
- virtual ~CClassFiltersDoc() {}
+ CClassFiltersDoc();
+ virtual ~CClassFiltersDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string dialect = std::string(),
- const std::deque<std::string> classFilter = std::deque<std::string>()) {
- if (! _isInitialized) {
- _dialect = dialect;
- _classFilter = classFilter;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> classFilter = std::deque<std::string>());
public:
/// Accessor for the Dialect
- std::string getDialect() const {
- return _dialect;
- }
+ std::string getDialect() const;
/// Accessor for the ClassFilter
- std::deque<std::string> getClassFilter() const {
- return _classFilter;
- }
+ std::deque<std::string> getClassFilter() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ClassSpecifier
-class CClassSpecifierDoc {
+class CAFCORETYPESDOC_LINKAGE CClassSpecifierDoc {
public:
- CClassSpecifierDoc() :
- _isInitialized(false) {}
- virtual ~CClassSpecifierDoc() {}
+ CClassSpecifierDoc();
+ virtual ~CClassSpecifierDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const SmartPtrCFullyQualifiedClassGroupDoc fullyQualifiedClass = SmartPtrCFullyQualifiedClassGroupDoc(),
- const SmartPtrCClassFiltersDoc classFilters = SmartPtrCClassFiltersDoc()) {
- if (! _isInitialized) {
- _fullyQualifiedClass = fullyQualifiedClass;
- _classFilters = classFilters;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCClassFiltersDoc classFilters = SmartPtrCClassFiltersDoc());
public:
/// Accessor for the FullyQualifiedClass
- SmartPtrCFullyQualifiedClassGroupDoc getFullyQualifiedClass() const {
- return _fullyQualifiedClass;
- }
+ SmartPtrCFullyQualifiedClassGroupDoc getFullyQualifiedClass() const;
/// Accessor for the ClassFilters
- SmartPtrCClassFiltersDoc getClassFilters() const {
- return _classFilters;
- }
+ SmartPtrCClassFiltersDoc getClassFilters() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type FullyQualifiedClassGroup
-class CFullyQualifiedClassGroupDoc {
+class CAFCORETYPESDOC_LINKAGE CFullyQualifiedClassGroupDoc {
public:
- CFullyQualifiedClassGroupDoc() :
- _isInitialized(false) {}
- virtual ~CFullyQualifiedClassGroupDoc() {}
+ CFullyQualifiedClassGroupDoc();
+ virtual ~CFullyQualifiedClassGroupDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string classNamespace,
const std::string className,
- const std::string classVersion) {
- if (! _isInitialized) {
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
-
- _isInitialized = true;
- }
- }
+ const std::string classVersion);
public:
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InlineAttachmentCollection
-class CInlineAttachmentCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CInlineAttachmentCollectionDoc {
public:
- CInlineAttachmentCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CInlineAttachmentCollectionDoc() {}
+ CInlineAttachmentCollectionDoc();
+ virtual ~CInlineAttachmentCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCInlineAttachmentDoc> attachment = std::deque<SmartPtrCInlineAttachmentDoc>()) {
- if (! _isInitialized) {
- _attachment = attachment;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCInlineAttachmentDoc> attachment = std::deque<SmartPtrCInlineAttachmentDoc>());
public:
/// Accessor for the InlineAttachment
- std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const {
- return _attachment;
- }
+ std::deque<SmartPtrCInlineAttachmentDoc> getInlineAttachment() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InlineAttachment
-class CInlineAttachmentDoc {
+class CAFCORETYPESDOC_LINKAGE CInlineAttachmentDoc {
public:
- CInlineAttachmentDoc() :
- _isInitialized(false) {}
- virtual ~CInlineAttachmentDoc() {}
+ CInlineAttachmentDoc();
+ virtual ~CInlineAttachmentDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string name,
const std::string type,
- const std::string value) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::string value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Type
- std::string getType() const {
- return _type;
- }
+ std::string getType() const;
/// Accessor for the Value
- std::string getValue() const {
- return _value;
- }
+ std::string getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Set of logging levels for different components
-class CLoggingLevelCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CLoggingLevelCollectionDoc {
public:
- CLoggingLevelCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CLoggingLevelCollectionDoc() {}
+ CLoggingLevelCollectionDoc();
+ virtual ~CLoggingLevelCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCLoggingLevelElemDoc> loggingLevel = std::deque<SmartPtrCLoggingLevelElemDoc>()) {
- if (! _isInitialized) {
- _loggingLevel = loggingLevel;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCLoggingLevelElemDoc> loggingLevel = std::deque<SmartPtrCLoggingLevelElemDoc>());
public:
/// Used to change the logging level for a specific component
- std::deque<SmartPtrCLoggingLevelElemDoc> getLoggingLevel() const {
- return _loggingLevel;
- }
+ std::deque<SmartPtrCLoggingLevelElemDoc> getLoggingLevel() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Logging level for a component
-class CLoggingLevelElemDoc {
+class CAFCORETYPESDOC_LINKAGE CLoggingLevelElemDoc {
public:
- CLoggingLevelElemDoc() :
- _component(LOGGINGCOMPONENT_NONE),
- _level(LOGGINGLEVEL_NONE),
- _isInitialized(false) {}
- virtual ~CLoggingLevelElemDoc() {}
+ CLoggingLevelElemDoc();
+ virtual ~CLoggingLevelElemDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const LOGGINGCOMPONENT_TYPE component = LOGGINGCOMPONENT_NONE,
- const LOGGINGLEVEL_TYPE level = LOGGINGLEVEL_NONE) {
- if (! _isInitialized) {
- _component = component;
- _level = level;
-
- _isInitialized = true;
- }
- }
+ const LOGGINGLEVEL_TYPE level = LOGGINGLEVEL_NONE);
public:
/// The logging level applies to this component
- LOGGINGCOMPONENT_TYPE getComponent() const {
- return _component;
- }
+ LOGGINGCOMPONENT_TYPE getComponent() const;
/// Set the logging level to this value
- LOGGINGLEVEL_TYPE getLevel() const {
- return _level;
- }
+ LOGGINGLEVEL_TYPE getLevel() const;
private:
LOGGINGCOMPONENT_TYPE _component;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Operation
-class COperationDoc {
+class CAFCORETYPESDOC_LINKAGE COperationDoc {
public:
- COperationDoc() :
- _isInitialized(false) {}
- virtual ~COperationDoc() {}
+ COperationDoc();
+ virtual ~COperationDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string name,
- const SmartPtrCParameterCollectionDoc parameterCollection = SmartPtrCParameterCollectionDoc()) {
- if (! _isInitialized) {
- _name = name;
- _parameterCollection = parameterCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCParameterCollectionDoc parameterCollection = SmartPtrCParameterCollectionDoc());
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the ParameterCollection
- SmartPtrCParameterCollectionDoc getParameterCollection() const {
- return _parameterCollection;
- }
+ SmartPtrCParameterCollectionDoc getParameterCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ParameterCollection
-class CParameterCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CParameterCollectionDoc {
public:
- CParameterCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CParameterCollectionDoc() {}
+ CParameterCollectionDoc();
+ virtual ~CParameterCollectionDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::deque<SmartPtrCRequestParameterDoc> parameter = std::deque<SmartPtrCRequestParameterDoc>(),
- const std::deque<SmartPtrCRequestInstanceParameterDoc> instanceParameter = std::deque<SmartPtrCRequestInstanceParameterDoc>()) {
- if (! _isInitialized) {
- _parameter = parameter;
- _instanceParameter = instanceParameter;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCRequestInstanceParameterDoc> instanceParameter = std::deque<SmartPtrCRequestInstanceParameterDoc>());
public:
/// Accessor for the Parameter
- std::deque<SmartPtrCRequestParameterDoc> getParameter() const {
- return _parameter;
- }
+ std::deque<SmartPtrCRequestParameterDoc> getParameter() const;
/// Accessor for the InstanceParameter
- std::deque<SmartPtrCRequestInstanceParameterDoc> getInstanceParameter() const {
- return _instanceParameter;
- }
+ std::deque<SmartPtrCRequestInstanceParameterDoc> getInstanceParameter() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type PropertyCollection
-class CPropertyCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CPropertyCollectionDoc {
public:
- CPropertyCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CPropertyCollectionDoc() {}
+ CPropertyCollectionDoc();
+ virtual ~CPropertyCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCPropertyDoc> property = std::deque<SmartPtrCPropertyDoc>()) {
- if (! _isInitialized) {
- _property = property;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCPropertyDoc> property = std::deque<SmartPtrCPropertyDoc>());
public:
/// Accessor for the Property
- std::deque<SmartPtrCPropertyDoc> getProperty() const {
- return _property;
- }
+ std::deque<SmartPtrCPropertyDoc> getProperty() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Property
-class CPropertyDoc {
+class CAFCORETYPESDOC_LINKAGE CPropertyDoc {
public:
- CPropertyDoc() :
- _type(PROPERTY_NONE),
- _isInitialized(false) {}
- virtual ~CPropertyDoc() {}
+ CPropertyDoc();
+ virtual ~CPropertyDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string name,
const PROPERTY_TYPE type,
- const std::deque<std::string> value = std::deque<std::string>()) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> value = std::deque<std::string>());
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Type
- PROPERTY_TYPE getType() const {
- return _type;
- }
+ PROPERTY_TYPE getType() const;
/// Accessor for the Value
- std::deque<std::string> getValue() const {
- return _value;
- }
+ std::deque<std::string> getValue() const;
private:
PROPERTY_TYPE _type;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Set of protocol
-class CProtocolCollectionDoc {
+class CAFCORETYPESDOC_LINKAGE CProtocolCollectionDoc {
public:
- CProtocolCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CProtocolCollectionDoc() {}
+ CProtocolCollectionDoc();
+ virtual ~CProtocolCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCProtocolDoc> protocol = std::deque<SmartPtrCProtocolDoc>()) {
- if (! _isInitialized) {
- _protocol = protocol;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCProtocolDoc> protocol = std::deque<SmartPtrCProtocolDoc>());
public:
/// Used to change the logging level for a specific component
- std::deque<SmartPtrCProtocolDoc> getProtocol() const {
- return _protocol;
- }
+ std::deque<SmartPtrCProtocolDoc> getProtocol() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of Protocol
-class CProtocolDoc {
+class CAFCORETYPESDOC_LINKAGE CProtocolDoc {
public:
- CProtocolDoc() :
- _sequenceNumber(0),
- _isInitialized(false) {}
- virtual ~CProtocolDoc() {}
+ CProtocolDoc();
+ virtual ~CProtocolDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string uri,
const std::string name = std::string(),
- const int32 sequenceNumber = 0) {
- if (! _isInitialized) {
- _name = name;
- _uri = uri;
- _sequenceNumber = sequenceNumber;
-
- _isInitialized = true;
- }
- }
+ const int32 sequenceNumber = 0);
public:
/// Accessor for the Uri
- std::string getUri() const {
- return _uri;
- }
+ std::string getUri() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Value
- int32 getSequenceNumber() const {
- return _sequenceNumber;
- }
+ int32 getSequenceNumber() const;
private:
int32 _sequenceNumber;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type RequestConfig
-class CRequestConfigDoc {
+class CAFCORETYPESDOC_LINKAGE CRequestConfigDoc {
public:
- CRequestConfigDoc() :
- _isInitialized(false) {}
- virtual ~CRequestConfigDoc() {}
+ CRequestConfigDoc();
+ virtual ~CRequestConfigDoc();
public:
/// Initializes the object with everything required by this
const std::string responseFormatType,
const SmartPtrCAddInsDoc requestProcessorAddIns = SmartPtrCAddInsDoc(),
const SmartPtrCAddInsDoc responseProcessorAddIns = SmartPtrCAddInsDoc(),
- const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection = SmartPtrCLoggingLevelCollectionDoc()) {
- if (! _isInitialized) {
- _responseFormatType = responseFormatType;
- _requestProcessorAddIns = requestProcessorAddIns;
- _responseProcessorAddIns = responseProcessorAddIns;
- _loggingLevelCollection = loggingLevelCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection = SmartPtrCLoggingLevelCollectionDoc());
public:
/// Accessor for the ResponseFormatType
- std::string getResponseFormatType() const {
- return _responseFormatType;
- }
+ std::string getResponseFormatType() const;
/// Accessor for the RequestProcessorAddIns
- SmartPtrCAddInsDoc getRequestProcessorAddIns() const {
- return _requestProcessorAddIns;
- }
+ SmartPtrCAddInsDoc getRequestProcessorAddIns() const;
/// Accessor for the ResponseProcessorAddIns
- SmartPtrCAddInsDoc getResponseProcessorAddIns() const {
- return _responseProcessorAddIns;
- }
+ SmartPtrCAddInsDoc getResponseProcessorAddIns() const;
/// Accessor for the LoggingLevelCollection
- SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const {
- return _loggingLevelCollection;
- }
+ SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type RequestHeader
-class CRequestHeaderDoc {
+class CAFCORETYPESDOC_LINKAGE CRequestHeaderDoc {
public:
- CRequestHeaderDoc() :
- _isInitialized(false),
- _sessionId(CAFCOMMON_GUID_NULL) {}
- virtual ~CRequestHeaderDoc() {}
+ CRequestHeaderDoc();
+ virtual ~CRequestHeaderDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCPropertyCollectionDoc echoPropertyBag = SmartPtrCPropertyCollectionDoc(),
const std::string version = "1.0",
const std::string createdDateTime = CDateTimeUtils::getCurrentDateTime(),
- const UUID sessionId = CAFCOMMON_GUID_NULL) {
- if (! _isInitialized) {
- _requestConfig = requestConfig;
- _authnAuthzCollection = authnAuthzCollection;
- _protocolCollection = protocolCollection;
- _echoPropertyBag = echoPropertyBag;
- _version = version;
- _createdDateTime = createdDateTime;
- _sessionId = sessionId;
-
- _isInitialized = true;
- }
- }
+ const UUID sessionId = CAFCOMMON_GUID_NULL);
public:
/// Accessor for the RequestConfig
- SmartPtrCRequestConfigDoc getRequestConfig() const {
- return _requestConfig;
- }
+ SmartPtrCRequestConfigDoc getRequestConfig() const;
/// Accessor for the Authentication / Authorization Collection
- SmartPtrCAuthnAuthzCollectionDoc getAuthnAuthzCollection() const {
- return _authnAuthzCollection;
- }
+ SmartPtrCAuthnAuthzCollectionDoc getAuthnAuthzCollection() const;
/// Accessor for the Protocol Collection
- SmartPtrCProtocolCollectionDoc getProtocolCollection() const {
- return _protocolCollection;
- }
+ SmartPtrCProtocolCollectionDoc getProtocolCollection() const;
/// Accessor for the EchoPropertyBag
- SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const {
- return _echoPropertyBag;
- }
+ SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const;
/// Accessor for the version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the date/time when the request was created
- std::string getCreatedDateTime() const {
- return _createdDateTime;
- }
+ std::string getCreatedDateTime() const;
/// Accessor for the session ID
- UUID getSessionId() const {
- return _sessionId;
- }
+ UUID getSessionId() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type RequestInstanceParameter
-class CRequestInstanceParameterDoc {
+class CAFCORETYPESDOC_LINKAGE CRequestInstanceParameterDoc {
public:
- CRequestInstanceParameterDoc() :
- _isInitialized(false) {}
- virtual ~CRequestInstanceParameterDoc() {}
+ CRequestInstanceParameterDoc();
+ virtual ~CRequestInstanceParameterDoc();
public:
/// Initializes the object with everything required by this
const std::string classNamespace,
const std::string className,
const std::string classVersion,
- const std::deque<std::string> value) {
- if (! _isInitialized) {
- _name = name;
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
/// Accessor for the Value
- std::deque<std::string> getValue() const {
- return _value;
- }
+ std::deque<std::string> getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type RequestParameter
-class CRequestParameterDoc {
+class CAFCORETYPESDOC_LINKAGE CRequestParameterDoc {
public:
- CRequestParameterDoc() :
- _type(PARAMETER_NONE),
- _isInitialized(false) {}
- virtual ~CRequestParameterDoc() {}
+ CRequestParameterDoc();
+ virtual ~CRequestParameterDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string name,
const PARAMETER_TYPE type,
- const std::deque<std::string> value) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Type
- PARAMETER_TYPE getType() const {
- return _type;
- }
+ PARAMETER_TYPE getType() const;
/// Accessor for the Value
- std::deque<std::string> getValue() const {
- return _value;
- }
+ std::deque<std::string> getValue() const;
private:
PARAMETER_TYPE _type;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Statistics
-class CStatisticsDoc {
+class CAFCORETYPESDOC_LINKAGE CStatisticsDoc {
public:
- CStatisticsDoc() :
- _providerJobNum(0),
- _providerJobTotal(0),
- _providerJobDurationSecs(0),
- _pmeNum(0),
- _pmeTotal(0),
- _pmeDurationSecs(0),
- _isInitialized(false) {}
- virtual ~CStatisticsDoc() {}
+ CStatisticsDoc();
+ virtual ~CStatisticsDoc();
public:
/// Initializes the object with everything required by this
const int32 providerJobDurationSecs,
const int32 pmeNum,
const int32 pmeTotal,
- const int32 pmeDurationSecs) {
- if (! _isInitialized) {
- _propertyCollection = propertyCollection;
- _providerJobNum = providerJobNum;
- _providerJobTotal = providerJobTotal;
- _providerJobDurationSecs = providerJobDurationSecs;
- _pmeNum = pmeNum;
- _pmeTotal = pmeTotal;
- _pmeDurationSecs = pmeDurationSecs;
-
- _isInitialized = true;
- }
- }
+ const int32 pmeDurationSecs);
public:
/// Accessor for the PropertyCollection
- SmartPtrCPropertyCollectionDoc getPropertyCollection() const {
- return _propertyCollection;
- }
+ SmartPtrCPropertyCollectionDoc getPropertyCollection() const;
/// Accessor for the ProviderJobNum
- int32 getProviderJobNum() const {
- return _providerJobNum;
- }
+ int32 getProviderJobNum() const;
/// Accessor for the ProviderJobTotal
- int32 getProviderJobTotal() const {
- return _providerJobTotal;
- }
+ int32 getProviderJobTotal() const;
/// Accessor for the ProviderJobDurationSecs
- int32 getProviderJobDurationSecs() const {
- return _providerJobDurationSecs;
- }
+ int32 getProviderJobDurationSecs() const;
/// Accessor for the PmeNum
- int32 getPmeNum() const {
- return _pmeNum;
- }
+ int32 getPmeNum() const;
/// Accessor for the PmeTotal
- int32 getPmeTotal() const {
- return _pmeTotal;
- }
+ int32 getPmeTotal() const;
/// Accessor for the PmeDurationSecs
- int32 getPmeDurationSecs() const {
- return _pmeDurationSecs;
- }
+ int32 getPmeDurationSecs() const;
private:
SmartPtrCPropertyCollectionDoc _propertyCollection;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef CafCoreTypesDoc_Link_h_
+#define CafCoreTypesDoc_Link_h_
+
+#ifndef CAFCORETYPESDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define CAFCORETYPESDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define CAFCORETYPESDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define CAFCORETYPESDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/CafCoreTypesDoc/CafCoreTypesDocInc.h"
+
+#endif /* CafCoreTypesDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type FullPackageElem
-class CFullPackageElemDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CFullPackageElemDoc {
public:
- CFullPackageElemDoc() :
- _index(0),
- _isInitialized(false) {}
- virtual ~CFullPackageElemDoc() {}
+ CFullPackageElemDoc();
+ virtual ~CFullPackageElemDoc();
public:
/// Initializes the object with everything required by this
const std::string packageName,
const std::string packageVersion,
const SmartPtrCPackageDefnDoc installPackage,
- const SmartPtrCPackageDefnDoc uninstallPackage) {
- if (! _isInitialized) {
- _index = index;
- _packageNamespace = packageNamespace;
- _packageName = packageName;
- _packageVersion = packageVersion;
- _installPackage = installPackage;
- _uninstallPackage = uninstallPackage;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCPackageDefnDoc uninstallPackage);
public:
/// Accessor for the Index
- int32 getIndex() const {
- return _index;
- }
+ int32 getIndex() const;
/// Accessor for the PackageNamespace
- std::string getPackageNamespace() const {
- return _packageNamespace;
- }
+ std::string getPackageNamespace() const;
/// Accessor for the PackageName
- std::string getPackageName() const {
- return _packageName;
- }
+ std::string getPackageName() const;
/// Accessor for the PackageVersion
- std::string getPackageVersion() const {
- return _packageVersion;
- }
+ std::string getPackageVersion() const;
/// Accessor for the InstallPackage
- SmartPtrCPackageDefnDoc getInstallPackage() const {
- return _installPackage;
- }
+ SmartPtrCPackageDefnDoc getInstallPackage() const;
/// Accessor for the UninstallPackage
- SmartPtrCPackageDefnDoc getUninstallPackage() const {
- return _uninstallPackage;
- }
+ SmartPtrCPackageDefnDoc getUninstallPackage() const;
private:
int32 _index;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type GetInventoryJob
-class CGetInventoryJobDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CGetInventoryJobDoc {
public:
- CGetInventoryJobDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CGetInventoryJobDoc() {}
+ CGetInventoryJobDoc();
+ virtual ~CGetInventoryJobDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const UUID jobId) {
- if (! _isInitialized) {
- _jobId = jobId;
-
- _isInitialized = true;
- }
- }
+ const UUID jobId);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
private:
UUID _jobId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstallBatch
-class CInstallBatchDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CInstallBatchDoc {
public:
- CInstallBatchDoc() :
- _isInitialized(false) {}
- virtual ~CInstallBatchDoc() {}
+ CInstallBatchDoc();
+ virtual ~CInstallBatchDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const SmartPtrCGetInventoryJobDoc getInventory,
const SmartPtrCInstallProviderJobDoc installProvider,
- const SmartPtrCUninstallProviderJobDoc uninstallProvider) {
- if (! _isInitialized) {
- _getInventory = getInventory;
- _installProvider = installProvider;
- _uninstallProvider = uninstallProvider;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCUninstallProviderJobDoc uninstallProvider);
public:
/// Accessor for the GetInventory
- SmartPtrCGetInventoryJobDoc getGetInventory() const {
- return _getInventory;
- }
+ SmartPtrCGetInventoryJobDoc getGetInventory() const;
/// Accessor for the InstallProvider
- SmartPtrCInstallProviderJobDoc getInstallProvider() const {
- return _installProvider;
- }
+ SmartPtrCInstallProviderJobDoc getInstallProvider() const;
/// Accessor for the UninstallProvider
- SmartPtrCUninstallProviderJobDoc getUninstallProvider() const {
- return _uninstallProvider;
- }
+ SmartPtrCUninstallProviderJobDoc getUninstallProvider() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstallPackageSpec
-class CInstallPackageSpecDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CInstallPackageSpecDoc {
public:
- CInstallPackageSpecDoc() :
- _isInitialized(false) {}
- virtual ~CInstallPackageSpecDoc() {}
+ CInstallPackageSpecDoc();
+ virtual ~CInstallPackageSpecDoc();
public:
/// Initializes the object with everything required by this
const std::string packageAttachmentName,
const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
const SmartPtrCAttachmentCollectionDoc attachmentCollection,
- const std::string arguments) {
- if (! _isInitialized) {
- _packageNamespace = packageNamespace;
- _packageName = packageName;
- _packageVersion = packageVersion;
- _startupAttachmentName = startupAttachmentName;
- _packageAttachmentName = packageAttachmentName;
- _attachmentNameCollection = attachmentNameCollection;
- _attachmentCollection = attachmentCollection;
- _arguments = arguments;
-
- _isInitialized = true;
- }
- }
+ const std::string arguments);
public:
/// Accessor for the PackageNamespace
- std::string getPackageNamespace() const {
- return _packageNamespace;
- }
+ std::string getPackageNamespace() const;
/// Accessor for the PackageName
- std::string getPackageName() const {
- return _packageName;
- }
+ std::string getPackageName() const;
/// Accessor for the PackageVersion
- std::string getPackageVersion() const {
- return _packageVersion;
- }
+ std::string getPackageVersion() const;
/// Accessor for the StartupAttachmentName
- std::string getStartupAttachmentName() const {
- return _startupAttachmentName;
- }
+ std::string getStartupAttachmentName() const;
/// Accessor for the PackageAttachmentName
- std::string getPackageAttachmentName() const {
- return _packageAttachmentName;
- }
+ std::string getPackageAttachmentName() const;
/// Accessor for the AttachmentNameCollection
- SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const {
- return _attachmentNameCollection;
- }
+ SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
/// Accessor for the Arguments
- std::string getArguments() const {
- return _arguments;
- }
+ std::string getArguments() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstallProviderJob
-class CInstallProviderJobDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CInstallProviderJobDoc {
public:
- CInstallProviderJobDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _jobId(CAFCOMMON_GUID_NULL),
- _packageOSType(PACKAGE_OS_NONE),
- _isInitialized(false) {}
- virtual ~CInstallProviderJobDoc() {}
+ CInstallProviderJobDoc();
+ virtual ~CInstallProviderJobDoc();
public:
/// Initializes the object with everything required by this
const std::string providerName,
const std::string providerVersion,
const PACKAGE_OS_TYPE packageOSType,
- const std::deque<SmartPtrCFullPackageElemDoc> packageCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _jobId = jobId;
- _providerNamespace = providerNamespace;
- _providerName = providerName;
- _providerVersion = providerVersion;
- _packageOSType = packageOSType;
- _packageCollection = packageCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCFullPackageElemDoc> packageCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the ProviderNamespace
- std::string getProviderNamespace() const {
- return _providerNamespace;
- }
+ std::string getProviderNamespace() const;
/// Accessor for the ProviderName
- std::string getProviderName() const {
- return _providerName;
- }
+ std::string getProviderName() const;
/// Accessor for the ProviderVersion
- std::string getProviderVersion() const {
- return _providerVersion;
- }
+ std::string getProviderVersion() const;
/// Accessor for the PackageOSType
- PACKAGE_OS_TYPE getPackageOSType() const {
- return _packageOSType;
- }
+ PACKAGE_OS_TYPE getPackageOSType() const;
/// Accessor for the PackageVal
- std::deque<SmartPtrCFullPackageElemDoc> getPackageCollection() const {
- return _packageCollection;
- }
+ std::deque<SmartPtrCFullPackageElemDoc> getPackageCollection() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstallProviderSpec
-class CInstallProviderSpecDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CInstallProviderSpecDoc {
public:
- CInstallProviderSpecDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CInstallProviderSpecDoc() {}
+ CInstallProviderSpecDoc();
+ virtual ~CInstallProviderSpecDoc();
public:
/// Initializes the object with everything required by this
const std::string providerNamespace,
const std::string providerName,
const std::string providerVersion,
- const std::deque<SmartPtrCMinPackageElemDoc> packageCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _providerNamespace = providerNamespace;
- _providerName = providerName;
- _providerVersion = providerVersion;
- _packageCollection = packageCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCMinPackageElemDoc> packageCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the ProviderNamespace
- std::string getProviderNamespace() const {
- return _providerNamespace;
- }
+ std::string getProviderNamespace() const;
/// Accessor for the ProviderName
- std::string getProviderName() const {
- return _providerName;
- }
+ std::string getProviderName() const;
/// Accessor for the ProviderVersion
- std::string getProviderVersion() const {
- return _providerVersion;
- }
+ std::string getProviderVersion() const;
/// Accessor for the PackageVal
- std::deque<SmartPtrCMinPackageElemDoc> getPackageCollection() const {
- return _packageCollection;
- }
+ std::deque<SmartPtrCMinPackageElemDoc> getPackageCollection() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstallRequest
-class CInstallRequestDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CInstallRequestDoc {
public:
- CInstallRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CInstallRequestDoc() {}
+ CInstallRequestDoc();
+ virtual ~CInstallRequestDoc();
public:
/// Initializes the object with everything required by this
const std::string pmeId,
const SmartPtrCRequestHeaderDoc requestHeader,
const SmartPtrCInstallBatchDoc batch,
- const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _requestHeader = requestHeader;
- _batch = batch;
- _attachmentCollection = attachmentCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the RequestHeader
- SmartPtrCRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCRequestHeaderDoc getRequestHeader() const;
/// Accessor for the Batch
- SmartPtrCInstallBatchDoc getBatch() const {
- return _batch;
- }
+ SmartPtrCInstallBatchDoc getBatch() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MinPackageElem
-class CMinPackageElemDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CMinPackageElemDoc {
public:
- CMinPackageElemDoc() :
- _index(0),
- _isInitialized(false) {}
- virtual ~CMinPackageElemDoc() {}
+ CMinPackageElemDoc();
+ virtual ~CMinPackageElemDoc();
public:
/// Initializes the object with everything required by this
const int32 index,
const std::string packageNamespace,
const std::string packageName,
- const std::string packageVersion) {
- if (! _isInitialized) {
- _index = index;
- _packageNamespace = packageNamespace;
- _packageName = packageName;
- _packageVersion = packageVersion;
-
- _isInitialized = true;
- }
- }
+ const std::string packageVersion);
public:
/// Accessor for the Index
- int32 getIndex() const {
- return _index;
- }
+ int32 getIndex() const;
/// Accessor for the PackageNamespace
- std::string getPackageNamespace() const {
- return _packageNamespace;
- }
+ std::string getPackageNamespace() const;
/// Accessor for the PackageName
- std::string getPackageName() const {
- return _packageName;
- }
+ std::string getPackageName() const;
/// Accessor for the PackageVersion
- std::string getPackageVersion() const {
- return _packageVersion;
- }
+ std::string getPackageVersion() const;
private:
int32 _index;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type PackageDefn
-class CPackageDefnDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CPackageDefnDoc {
public:
- CPackageDefnDoc() :
- _isInitialized(false) {}
- virtual ~CPackageDefnDoc() {}
+ CPackageDefnDoc();
+ virtual ~CPackageDefnDoc();
public:
/// Initializes the object with everything required by this
const std::string startupAttachmentName,
const std::string packageAttachmentName,
const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
- const std::string arguments) {
- if (! _isInitialized) {
- _startupAttachmentName = startupAttachmentName;
- _packageAttachmentName = packageAttachmentName;
- _attachmentNameCollection = attachmentNameCollection;
- _arguments = arguments;
-
- _isInitialized = true;
- }
- }
+ const std::string arguments);
public:
/// Accessor for the StartupAttachmentName
- std::string getStartupAttachmentName() const {
- return _startupAttachmentName;
- }
+ std::string getStartupAttachmentName() const;
/// Accessor for the PackageAttachmentName
- std::string getPackageAttachmentName() const {
- return _packageAttachmentName;
- }
+ std::string getPackageAttachmentName() const;
/// Accessor for the AttachmentNameCollection
- SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const {
- return _attachmentNameCollection;
- }
+ SmartPtrCAttachmentNameCollectionDoc getSupportingAttachmentNameCollection() const;
/// Accessor for the Arguments
- std::string getArguments() const {
- return _arguments;
- }
+ std::string getArguments() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type UninstallProviderJob
-class CUninstallProviderJobDoc {
+class CAFINSTALLREQUESTDOC_LINKAGE CUninstallProviderJobDoc {
public:
- CUninstallProviderJobDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _jobId(CAFCOMMON_GUID_NULL),
- _packageOSType(PACKAGE_OS_NONE),
- _isInitialized(false) {}
- virtual ~CUninstallProviderJobDoc() {}
+ CUninstallProviderJobDoc();
+ virtual ~CUninstallProviderJobDoc();
public:
/// Initializes the object with everything required by this
const std::string providerNamespace,
const std::string providerName,
const std::string providerVersion,
- const PACKAGE_OS_TYPE packageOSType) {
- if (! _isInitialized) {
- _clientId = clientId;
- _jobId = jobId;
- _providerNamespace = providerNamespace;
- _providerName = providerName;
- _providerVersion = providerVersion;
- _packageOSType = packageOSType;
-
- _isInitialized = true;
- }
- }
+ const PACKAGE_OS_TYPE packageOSType);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the ProviderNamespace
- std::string getProviderNamespace() const {
- return _providerNamespace;
- }
+ std::string getProviderNamespace() const;
/// Accessor for the ProviderName
- std::string getProviderName() const {
- return _providerName;
- }
+ std::string getProviderName() const;
/// Accessor for the ProviderVersion
- std::string getProviderVersion() const {
- return _providerVersion;
- }
+ std::string getProviderVersion() const;
/// Accessor for the PackageOSType
- PACKAGE_OS_TYPE getPackageOSType() const {
- return _packageOSType;
- }
+ PACKAGE_OS_TYPE getPackageOSType() const;
private:
UUID _clientId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef CafInstallRequestDoc_Link_h_
+#define CafInstallRequestDoc_Link_h_
+
+#ifndef CAFINSTALLREQUESTDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define CAFINSTALLREQUESTDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define CAFINSTALLREQUESTDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define CAFINSTALLREQUESTDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/CafInstallRequestDoc/CafInstallRequestDocInc.h"
+
+#endif /* CafInstallRequestDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagRequest
-class CDiagRequestDoc {
+class DIAGREQUESTDOC_LINKAGE CDiagRequestDoc {
public:
- CDiagRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CDiagRequestDoc() {}
+ CDiagRequestDoc();
+ virtual ~CDiagRequestDoc();
public:
/// Initializes the object with everything required by this
const UUID requestId,
const std::string pmeId,
const SmartPtrCRequestHeaderDoc requestHeader,
- const SmartPtrCDiagBatchDoc batch) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _requestHeader = requestHeader;
- _batch = batch;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCDiagBatchDoc batch);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the RequestHeader
- SmartPtrCRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCRequestHeaderDoc getRequestHeader() const;
/// Accessor for the Batch
- SmartPtrCDiagBatchDoc getBatch() const {
- return _batch;
- }
+ SmartPtrCDiagBatchDoc getBatch() const;
private:
UUID _clientId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef DiagRequestDoc_Link_h_
+#define DiagRequestDoc_Link_h_
+
+#ifndef DIAGREQUESTDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define DIAGREQUESTDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define DIAGREQUESTDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define DIAGREQUESTDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/DiagRequestDoc/DiagRequestDocInc.h"
+
+#endif /* DiagRequestDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagBatch
-class CDiagBatchDoc {
+class DIAGTYPESDOC_LINKAGE CDiagBatchDoc {
public:
- CDiagBatchDoc() :
- _isInitialized(false) {}
- virtual ~CDiagBatchDoc() {}
+ CDiagBatchDoc();
+ virtual ~CDiagBatchDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const SmartPtrCDiagCollectInstancesDoc collectInstances,
const SmartPtrCDiagSetValueCollectionDoc setValueCollection,
- const SmartPtrCDiagDeleteValueCollectionDoc deleteValueCollection) {
- if (! _isInitialized) {
- _collectInstances = collectInstances;
- _setValueCollection = setValueCollection;
- _deleteValueCollection = deleteValueCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCDiagDeleteValueCollectionDoc deleteValueCollection);
public:
/// Accessor for the CollectInstances
- SmartPtrCDiagCollectInstancesDoc getCollectInstances() const {
- return _collectInstances;
- }
+ SmartPtrCDiagCollectInstancesDoc getCollectInstances() const;
/// Accessor for the SetValueCollection
- SmartPtrCDiagSetValueCollectionDoc getSetValueCollection() const {
- return _setValueCollection;
- }
+ SmartPtrCDiagSetValueCollectionDoc getSetValueCollection() const;
/// Accessor for the DeleteValueCollection
- SmartPtrCDiagDeleteValueCollectionDoc getDeleteValueCollection() const {
- return _deleteValueCollection;
- }
+ SmartPtrCDiagDeleteValueCollectionDoc getDeleteValueCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagCollectInstances
-class CDiagCollectInstancesDoc {
+class DIAGTYPESDOC_LINKAGE CDiagCollectInstancesDoc {
public:
- CDiagCollectInstancesDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CDiagCollectInstancesDoc() {}
+ CDiagCollectInstancesDoc();
+ virtual ~CDiagCollectInstancesDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const UUID jobId) {
- if (! _isInitialized) {
- _jobId = jobId;
-
- _isInitialized = true;
- }
- }
+ const UUID jobId);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
private:
UUID _jobId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagDeleteValueCollection
-class CDiagDeleteValueCollectionDoc {
+class DIAGTYPESDOC_LINKAGE CDiagDeleteValueCollectionDoc {
public:
- CDiagDeleteValueCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CDiagDeleteValueCollectionDoc() {}
+ CDiagDeleteValueCollectionDoc();
+ virtual ~CDiagDeleteValueCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCDiagDeleteValueDoc> deleteValueCollection) {
- if (! _isInitialized) {
- _deleteValueCollection = deleteValueCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCDiagDeleteValueDoc> deleteValueCollection);
public:
/// Accessor for the DeleteValue
- std::deque<SmartPtrCDiagDeleteValueDoc> getDeleteValueCollection() const {
- return _deleteValueCollection;
- }
+ std::deque<SmartPtrCDiagDeleteValueDoc> getDeleteValueCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagDeleteValue
-class CDiagDeleteValueDoc {
+class DIAGTYPESDOC_LINKAGE CDiagDeleteValueDoc {
public:
- CDiagDeleteValueDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CDiagDeleteValueDoc() {}
+ CDiagDeleteValueDoc();
+ virtual ~CDiagDeleteValueDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const UUID jobId,
const std::string fileAlias,
- const std::string valueName) {
- if (! _isInitialized) {
- _jobId = jobId;
- _fileAlias = fileAlias;
- _valueName = valueName;
-
- _isInitialized = true;
- }
- }
+ const std::string valueName);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the FileAlias
- std::string getFileAlias() const {
- return _fileAlias;
- }
+ std::string getFileAlias() const;
/// Accessor for the ValueName
- std::string getValueName() const {
- return _valueName;
- }
+ std::string getValueName() const;
private:
UUID _jobId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagSetValueCollection
-class CDiagSetValueCollectionDoc {
+class DIAGTYPESDOC_LINKAGE CDiagSetValueCollectionDoc {
public:
- CDiagSetValueCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CDiagSetValueCollectionDoc() {}
+ CDiagSetValueCollectionDoc();
+ virtual ~CDiagSetValueCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCDiagSetValueDoc> setValueCollection) {
- if (! _isInitialized) {
- _setValueCollection = setValueCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCDiagSetValueDoc> setValueCollection);
public:
/// Accessor for the SetValue
- std::deque<SmartPtrCDiagSetValueDoc> getSetValueCollection() const {
- return _setValueCollection;
- }
+ std::deque<SmartPtrCDiagSetValueDoc> getSetValueCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DiagSetValue
-class CDiagSetValueDoc {
+class DIAGTYPESDOC_LINKAGE CDiagSetValueDoc {
public:
- CDiagSetValueDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CDiagSetValueDoc() {}
+ CDiagSetValueDoc();
+ virtual ~CDiagSetValueDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const UUID jobId,
const std::string fileAlias,
- const SmartPtrCPropertyDoc value) {
- if (! _isInitialized) {
- _jobId = jobId;
- _fileAlias = fileAlias;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCPropertyDoc value);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the FileAlias
- std::string getFileAlias() const {
- return _fileAlias;
- }
+ std::string getFileAlias() const;
/// Accessor for the Value
- SmartPtrCPropertyDoc getValue() const {
- return _value;
- }
+ SmartPtrCPropertyDoc getValue() const;
private:
UUID _jobId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef DiagTypesDoc_Link_h_
+#define DiagTypesDoc_Link_h_
+
+#ifndef DIAGTYPESDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define DIAGTYPESDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define DIAGTYPESDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define DIAGTYPESDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/DiagTypesDoc/DiagTypesDocInc.h"
+
+#endif /* DiagTypesDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtRequest
-class CMgmtRequestDoc {
+class MGMTREQUESTDOC_LINKAGE CMgmtRequestDoc {
public:
- CMgmtRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CMgmtRequestDoc() {}
+ CMgmtRequestDoc();
+ virtual ~CMgmtRequestDoc();
public:
/// Initializes the object with everything required by this
const std::string pmeId,
const SmartPtrCRequestHeaderDoc requestHeader,
const SmartPtrCMgmtBatchDoc batch,
- const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _requestHeader = requestHeader;
- _batch = batch;
- _attachmentCollection = attachmentCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the RequestHeader
- SmartPtrCRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCRequestHeaderDoc getRequestHeader() const;
/// Accessor for the Batch
- SmartPtrCMgmtBatchDoc getBatch() const {
- return _batch;
- }
+ SmartPtrCMgmtBatchDoc getBatch() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
private:
UUID _clientId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef MgmtRequestDoc_Link_h_
+#define MgmtRequestDoc_Link_h_
+
+#ifndef MGMTREQUESTDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define MGMTREQUESTDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define MGMTREQUESTDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define MGMTREQUESTDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/MgmtRequestDoc/MgmtRequestDocInc.h"
+
+#endif /* MgmtRequestDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtBatch
-class CMgmtBatchDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtBatchDoc {
public:
- CMgmtBatchDoc() :
- _isInitialized(false) {}
- virtual ~CMgmtBatchDoc() {}
+ CMgmtBatchDoc();
+ virtual ~CMgmtBatchDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const SmartPtrCMgmtCollectSchemaDoc collectSchema,
const SmartPtrCMgmtCollectInstancesCollectionDoc collectInstancesCollection,
- const SmartPtrCMgmtInvokeOperationCollectionDoc invokeOperationCollection) {
- if (! _isInitialized) {
- _collectSchema = collectSchema;
- _collectInstancesCollection = collectInstancesCollection;
- _invokeOperationCollection = invokeOperationCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCMgmtInvokeOperationCollectionDoc invokeOperationCollection);
public:
/// Accessor for the CollectSchema
- SmartPtrCMgmtCollectSchemaDoc getCollectSchema() const {
- return _collectSchema;
- }
+ SmartPtrCMgmtCollectSchemaDoc getCollectSchema() const;
/// Accessor for the CollectInstancesCollection
- SmartPtrCMgmtCollectInstancesCollectionDoc getCollectInstancesCollection() const {
- return _collectInstancesCollection;
- }
+ SmartPtrCMgmtCollectInstancesCollectionDoc getCollectInstancesCollection() const;
/// Accessor for the InvokeOperationCollection
- SmartPtrCMgmtInvokeOperationCollectionDoc getInvokeOperationCollection() const {
- return _invokeOperationCollection;
- }
+ SmartPtrCMgmtInvokeOperationCollectionDoc getInvokeOperationCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtCollectInstancesCollection
-class CMgmtCollectInstancesCollectionDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtCollectInstancesCollectionDoc {
public:
- CMgmtCollectInstancesCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CMgmtCollectInstancesCollectionDoc() {}
+ CMgmtCollectInstancesCollectionDoc();
+ virtual ~CMgmtCollectInstancesCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCMgmtCollectInstancesDoc> collectInstancesCollection) {
- if (! _isInitialized) {
- _collectInstancesCollection = collectInstancesCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCMgmtCollectInstancesDoc> collectInstancesCollection);
public:
/// Accessor for the CollectInstances
- std::deque<SmartPtrCMgmtCollectInstancesDoc> getCollectInstancesCollection() const {
- return _collectInstancesCollection;
- }
+ std::deque<SmartPtrCMgmtCollectInstancesDoc> getCollectInstancesCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtCollectInstances
-class CMgmtCollectInstancesDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtCollectInstancesDoc {
public:
- CMgmtCollectInstancesDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CMgmtCollectInstancesDoc() {}
+ CMgmtCollectInstancesDoc();
+ virtual ~CMgmtCollectInstancesDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const UUID jobId,
const SmartPtrCClassSpecifierDoc classSpecifier,
- const SmartPtrCParameterCollectionDoc parameterCollection) {
- if (! _isInitialized) {
- _jobId = jobId;
- _classSpecifier = classSpecifier;
- _parameterCollection = parameterCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCParameterCollectionDoc parameterCollection);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the ClassSpecifier
- SmartPtrCClassSpecifierDoc getClassSpecifier() const {
- return _classSpecifier;
- }
+ SmartPtrCClassSpecifierDoc getClassSpecifier() const;
/// Accessor for the ParameterCollection
- SmartPtrCParameterCollectionDoc getParameterCollection() const {
- return _parameterCollection;
- }
+ SmartPtrCParameterCollectionDoc getParameterCollection() const;
private:
UUID _jobId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtCollectSchema
-class CMgmtCollectSchemaDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtCollectSchemaDoc {
public:
- CMgmtCollectSchemaDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CMgmtCollectSchemaDoc() {}
+ CMgmtCollectSchemaDoc();
+ virtual ~CMgmtCollectSchemaDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const UUID jobId) {
- if (! _isInitialized) {
- _jobId = jobId;
-
- _isInitialized = true;
- }
- }
+ const UUID jobId);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
private:
UUID _jobId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtInvokeOperationCollection
-class CMgmtInvokeOperationCollectionDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtInvokeOperationCollectionDoc {
public:
- CMgmtInvokeOperationCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CMgmtInvokeOperationCollectionDoc() {}
+ CMgmtInvokeOperationCollectionDoc();
+ virtual ~CMgmtInvokeOperationCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCMgmtInvokeOperationDoc> invokeOperationCollection) {
- if (! _isInitialized) {
- _invokeOperationCollection = invokeOperationCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCMgmtInvokeOperationDoc> invokeOperationCollection);
public:
/// Accessor for the InvokeOperation
- std::deque<SmartPtrCMgmtInvokeOperationDoc> getInvokeOperationCollection() const {
- return _invokeOperationCollection;
- }
+ std::deque<SmartPtrCMgmtInvokeOperationDoc> getInvokeOperationCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MgmtInvokeOperation
-class CMgmtInvokeOperationDoc {
+class MGMTTYPESDOC_LINKAGE CMgmtInvokeOperationDoc {
public:
- CMgmtInvokeOperationDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CMgmtInvokeOperationDoc() {}
+ CMgmtInvokeOperationDoc();
+ virtual ~CMgmtInvokeOperationDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const UUID jobId,
const SmartPtrCClassSpecifierDoc classSpecifier,
- const SmartPtrCOperationDoc operation) {
- if (! _isInitialized) {
- _jobId = jobId;
- _classSpecifier = classSpecifier;
- _operation = operation;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCOperationDoc operation);
public:
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the ClassSpecifier
- SmartPtrCClassSpecifierDoc getClassSpecifier() const {
- return _classSpecifier;
- }
+ SmartPtrCClassSpecifierDoc getClassSpecifier() const;
/// Accessor for the Operation
- SmartPtrCOperationDoc getOperation() const {
- return _operation;
- }
+ SmartPtrCOperationDoc getOperation() const;
private:
UUID _jobId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef MgmtTypesDoc_Link_h_
+#define MgmtTypesDoc_Link_h_
+
+#ifndef MGMTTYPESDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define MGMTTYPESDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define MGMTTYPESDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define MGMTTYPESDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/MgmtTypesDoc/MgmtTypesDocInc.h"
+
+#endif /* MgmtTypesDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MultiPmeMgmtBatchCollection
-class CMultiPmeMgmtBatchCollectionDoc {
+class MULTIPMEMGMTREQUESTDOC_LINKAGE CMultiPmeMgmtBatchCollectionDoc {
public:
- CMultiPmeMgmtBatchCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CMultiPmeMgmtBatchCollectionDoc() {}
+ CMultiPmeMgmtBatchCollectionDoc();
+ virtual ~CMultiPmeMgmtBatchCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCMultiPmeMgmtBatchDoc> multiPmeBatch) {
- if (! _isInitialized) {
- _multiPmeBatch = multiPmeBatch;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCMultiPmeMgmtBatchDoc> multiPmeBatch);
public:
/// Accessor for the MultiPmeBatch
- std::deque<SmartPtrCMultiPmeMgmtBatchDoc> getMultiPmeBatch() const {
- return _multiPmeBatch;
- }
+ std::deque<SmartPtrCMultiPmeMgmtBatchDoc> getMultiPmeBatch() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MultiPmeMgmtBatch
-class CMultiPmeMgmtBatchDoc {
+class MULTIPMEMGMTREQUESTDOC_LINKAGE CMultiPmeMgmtBatchDoc {
public:
- CMultiPmeMgmtBatchDoc() :
- _isInitialized(false) {}
- virtual ~CMultiPmeMgmtBatchDoc() {}
+ CMultiPmeMgmtBatchDoc();
+ virtual ~CMultiPmeMgmtBatchDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const SmartPtrCPmeIdCollectionDoc pmeIdCollection,
- const SmartPtrCMgmtBatchDoc batch) {
- if (! _isInitialized) {
- _pmeIdCollection = pmeIdCollection;
- _batch = batch;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCMgmtBatchDoc batch);
public:
/// Accessor for the PmeIdCollection
- SmartPtrCPmeIdCollectionDoc getPmeIdCollection() const {
- return _pmeIdCollection;
- }
+ SmartPtrCPmeIdCollectionDoc getPmeIdCollection() const;
/// Accessor for the Batch
- SmartPtrCMgmtBatchDoc getBatch() const {
- return _batch;
- }
+ SmartPtrCMgmtBatchDoc getBatch() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type MultiPmeMgmtRequest
-class CMultiPmeMgmtRequestDoc {
+class MULTIPMEMGMTREQUESTDOC_LINKAGE CMultiPmeMgmtRequestDoc {
public:
- CMultiPmeMgmtRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CMultiPmeMgmtRequestDoc() {}
+ CMultiPmeMgmtRequestDoc();
+ virtual ~CMultiPmeMgmtRequestDoc();
public:
/// Initializes the object with everything required by this
const UUID clientId,
const UUID requestId,
const SmartPtrCRequestHeaderDoc requestHeader,
- const SmartPtrCMultiPmeMgmtBatchCollectionDoc multiPmeBatchCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _requestHeader = requestHeader;
- _multiPmeBatchCollection = multiPmeBatchCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCMultiPmeMgmtBatchCollectionDoc multiPmeBatchCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the RequestHeader
- SmartPtrCRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCRequestHeaderDoc getRequestHeader() const;
/// Accessor for the MultiPmeBatchCollection
- SmartPtrCMultiPmeMgmtBatchCollectionDoc getMultiPmeBatchCollection() const {
- return _multiPmeBatchCollection;
- }
+ SmartPtrCMultiPmeMgmtBatchCollectionDoc getMultiPmeBatchCollection() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type PmeIdCollection
-class CPmeIdCollectionDoc {
+class MULTIPMEMGMTREQUESTDOC_LINKAGE CPmeIdCollectionDoc {
public:
- CPmeIdCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CPmeIdCollectionDoc() {}
+ CPmeIdCollectionDoc();
+ virtual ~CPmeIdCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> pmeIdCollection) {
- if (! _isInitialized) {
- _pmeIdCollection = pmeIdCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> pmeIdCollection);
public:
/// Accessor for the PmeId
- std::deque<std::string> getPmeIdCollection() const {
- return _pmeIdCollection;
- }
+ std::deque<std::string> getPmeIdCollection() const;
private:
bool _isInitialized;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef MultiPmeMgmtRequestDoc_Link_h_
+#define MultiPmeMgmtRequestDoc_Link_h_
+
+#ifndef MULTIPMEMGMTREQUESTDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define MULTIPMEMGMTREQUESTDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define MULTIPMEMGMTREQUESTDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define MULTIPMEMGMTREQUESTDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocInc.h"
+
+#endif /* MultiPmeMgmtRequestDoc_Link_h_ */
namespace Caf {
/// A simple container for objects of type PayloadEnvelope
-class CPayloadEnvelopeDoc {
+class PAYLOADENVELOPEDOC_LINKAGE CPayloadEnvelopeDoc {
public:
- CPayloadEnvelopeDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CPayloadEnvelopeDoc() {}
+ CPayloadEnvelopeDoc();
+ virtual ~CPayloadEnvelopeDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCAttachmentCollectionDoc& attachmentCollection,
const SmartPtrCProtocolCollectionDoc& protocolCollection = SmartPtrCProtocolCollectionDoc(),
const SmartPtrCPropertyCollectionDoc& headerCollection = SmartPtrCPropertyCollectionDoc(),
- const std::string version = "1.0") {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _payloadType = payloadType;
- _payloadVersion = payloadVersion;
- _attachmentCollection = attachmentCollection;
- _protocolCollection = protocolCollection;
- _headerCollection = headerCollection;
- _version = version;
-
- _isInitialized = true;
- }
- }
+ const std::string version = "1.0");
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the PayloadType
- std::string getPayloadType() const {
- return _payloadType;
- }
+ std::string getPayloadType() const;
/// Accessor for the PayloadVersion
- std::string getPayloadVersion() const {
- return _payloadVersion;
- }
+ std::string getPayloadVersion() const;
/// Accessor for the Protocol Collection
- SmartPtrCProtocolCollectionDoc getProtocolCollection() const {
- return _protocolCollection;
- }
+ SmartPtrCProtocolCollectionDoc getProtocolCollection() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
/// Accessor for the Headers
- SmartPtrCPropertyCollectionDoc getHeaderCollection() const {
- return _headerCollection;
- }
+ SmartPtrCPropertyCollectionDoc getHeaderCollection() const;
/// Accessor for the version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
private:
UUID _clientId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef PayloadEnvelopeDoc_Link_h_
+#define PayloadEnvelopeDoc_Link_h_
+
+#ifndef PAYLOADENVELOPEDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define PAYLOADENVELOPEDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define PAYLOADENVELOPEDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define PAYLOADENVELOPEDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocInc.h"
+
+#endif /* PayloadEnvelopeDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type CertCollection
-class CCertCollectionDoc {
+class PERSISTENCEDOC_LINKAGE CCertCollectionDoc {
public:
- CCertCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CCertCollectionDoc() {}
+ CCertCollectionDoc();
+ virtual ~CCertCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> certCollection = std::deque<std::string>()) {
- if (! _isInitialized) {
- _certCollection = certCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> certCollection = std::deque<std::string>());
public:
/// Accessor for the Cert
- std::deque<std::string> getCert() const {
- return _certCollection;
- }
+ std::deque<std::string> getCert() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type CertPathCollection
-class CCertPathCollectionDoc {
+class PERSISTENCEDOC_LINKAGE CCertPathCollectionDoc {
public:
- CCertPathCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CCertPathCollectionDoc() {}
+ CCertPathCollectionDoc();
+ virtual ~CCertPathCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> certPathCollection = std::deque<std::string>()) {
- if (! _isInitialized) {
- _certPathCollection = certPathCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> certPathCollection = std::deque<std::string>());
public:
/// Accessor for the Cert
- std::deque<std::string> getCertPath() const {
- return _certPathCollection;
- }
+ std::deque<std::string> getCertPath() const;
private:
bool _isInitialized;
namespace Caf {
/// A simple container for objects of type CLocalSecurityDoc
-class CLocalSecurityDoc {
+class PERSISTENCEDOC_LINKAGE CLocalSecurityDoc {
public:
- CLocalSecurityDoc() :
- _isInitialized(false) {}
- virtual ~CLocalSecurityDoc() {}
+ CLocalSecurityDoc();
+ virtual ~CLocalSecurityDoc();
public:
/// Initializes the object with everything required by this
const std::string& privateKey = std::string(),
const std::string& cert = std::string(),
const std::string& privateKeyPath = std::string(),
- const std::string& certPath = std::string()) {
- if (! _isInitialized) {
- _localId = localId;
- _privateKey = privateKey;
- _cert = cert;
-
- _privateKeyPath = privateKeyPath;
- _certPath = certPath;
-
- _isInitialized = true;
- }
- }
+ const std::string& certPath = std::string());
public:
/// Accessor for the LocalId
- std::string getLocalId() const {
- return _localId;
- }
+ std::string getLocalId() const;
/// Accessor for the PrivateKey
- std::string getPrivateKey() const {
- return _privateKey;
- }
+ std::string getPrivateKey() const;
/// Accessor for the Cert
- std::string getCert() const {
- return _cert;
- }
+ std::string getCert() const;
/// Accessor for the PrivateKeyPath
- std::string getPrivateKeyPath() const {
- return _privateKeyPath;
- }
+ std::string getPrivateKeyPath() const;
/// Accessor for the CertPath
- std::string getCertPath() const {
- return _certPath;
- }
+ std::string getCertPath() const;
private:
std::string _localId;
namespace Caf {
/// A simple container for objects of type PersistenceEnvelope
-class CPersistenceDoc {
+class PERSISTENCEDOC_LINKAGE CPersistenceDoc {
public:
- CPersistenceDoc() :
- _isInitialized(false) {}
- virtual ~CPersistenceDoc() {}
+ CPersistenceDoc();
+ virtual ~CPersistenceDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCLocalSecurityDoc& localSecurity = SmartPtrCLocalSecurityDoc(),
const SmartPtrCRemoteSecurityCollectionDoc& remoteSecurityCollection = SmartPtrCRemoteSecurityCollectionDoc(),
const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection = SmartPtrCPersistenceProtocolCollectionDoc(),
- const std::string version = "1.0") {
- if (! _isInitialized) {
- _localSecurity = localSecurity;
- _remoteSecurityCollection = remoteSecurityCollection;
- _persistenceProtocolCollection = persistenceProtocolCollection;
- _version = version;
-
- _isInitialized = true;
- }
- }
+ const std::string version = "1.0");
public:
/// Accessor for the LocalSecurity
- SmartPtrCLocalSecurityDoc getLocalSecurity() const {
- return _localSecurity;
- }
+ SmartPtrCLocalSecurityDoc getLocalSecurity() const;
/// Accessor for the Protocol Collection
- SmartPtrCRemoteSecurityCollectionDoc getRemoteSecurityCollection() const {
- return _remoteSecurityCollection;
- }
+ SmartPtrCRemoteSecurityCollectionDoc getRemoteSecurityCollection() const;
/// Accessor for the PersistenceProtocol
- SmartPtrCPersistenceProtocolCollectionDoc getPersistenceProtocolCollection() const {
- return _persistenceProtocolCollection;
- }
+ SmartPtrCPersistenceProtocolCollectionDoc getPersistenceProtocolCollection() const;
/// Accessor for the version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
private:
SmartPtrCLocalSecurityDoc _localSecurity;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type PersistenceProtocolCollection
-class CPersistenceProtocolCollectionDoc {
+class PERSISTENCEDOC_LINKAGE CPersistenceProtocolCollectionDoc {
public:
- CPersistenceProtocolCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CPersistenceProtocolCollectionDoc() {}
+ CPersistenceProtocolCollectionDoc();
+ virtual ~CPersistenceProtocolCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocol = std::deque<SmartPtrCPersistenceProtocolDoc>()) {
- if (! _isInitialized) {
- _persistenceProtocol = persistenceProtocol;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocol = std::deque<SmartPtrCPersistenceProtocolDoc>());
public:
/// Accessor for the PersistenceProtocol
- std::deque<SmartPtrCPersistenceProtocolDoc> getPersistenceProtocol() const {
- return _persistenceProtocol;
- }
+ std::deque<SmartPtrCPersistenceProtocolDoc> getPersistenceProtocol() const;
private:
bool _isInitialized;
namespace Caf {
/// A simple container for objects of type CPersistenceProtocolDoc
-class CPersistenceProtocolDoc {
+class PERSISTENCEDOC_LINKAGE CPersistenceProtocolDoc {
public:
- CPersistenceProtocolDoc() :
- _isInitialized(false) {}
- virtual ~CPersistenceProtocolDoc() {}
+ CPersistenceProtocolDoc();
+ virtual ~CPersistenceProtocolDoc();
public:
/// Initializes the object with everything required by this
const std::string& uriAmqpPath = std::string(),
const std::string& uriTunnelPath = std::string(),
const std::string& tlsCertPath = std::string(),
- const SmartPtrCCertPathCollectionDoc& tlsCertPathCollection = SmartPtrCCertPathCollectionDoc()) {
- if (! _isInitialized) {
- _protocolName = protocolName;
- _uri = uri;
- _uriAmqp = uriAmqp;
- _uriTunnel = uriTunnel;
- _tlsCert = tlsCert;
- _tlsProtocol = tlsProtocol;
- _tlsCipherCollection = tlsCipherCollection;
- _tlsCertCollection = tlsCertCollection;
-
- _uriAmqpPath = uriAmqpPath;
- _uriTunnelPath = uriTunnelPath;
- _tlsCertPath = tlsCertPath;
- _tlsCertPathCollection = tlsCertPathCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCCertPathCollectionDoc& tlsCertPathCollection = SmartPtrCCertPathCollectionDoc());
public:
/// Accessor for the ProtocolName
- std::string getProtocolName() const {
- return _protocolName;
- }
+ std::string getProtocolName() const;
/// Accessor for the Uri
- std::string getUri() const {
- return _uri;
- }
+ std::string getUri() const;
/// Accessor for the UriAmqp
- std::string getUriAmqp() const {
- return _uriAmqp;
- }
+ std::string getUriAmqp() const;
/// Accessor for the UriTunnel
- std::string getUriTunnel() const {
- return _uriTunnel;
- }
+ std::string getUriTunnel() const;
/// Accessor for the TlsCert
- std::string getTlsCert() const {
- return _tlsCert;
- }
+ std::string getTlsCert() const;
/// Accessor for the TlsProtocol
- std::string getTlsProtocol() const {
- return _tlsProtocol;
- }
+ std::string getTlsProtocol() const;
/// Accessor for the tlsCipherCollection
- Cdeqstr getTlsCipherCollection() const {
- return _tlsCipherCollection;
- }
+ Cdeqstr getTlsCipherCollection() const;
/// Accessor for the TlsCertCollection
- SmartPtrCCertCollectionDoc getTlsCertCollection() const {
- return _tlsCertCollection;
- }
+ SmartPtrCCertCollectionDoc getTlsCertCollection() const;
/// Accessor for the UriAmqpPath
- std::string getUriAmqpPath() const {
- return _uriAmqpPath;
- }
+ std::string getUriAmqpPath() const;
/// Accessor for the UriTunnelPath
- std::string getUriTunnelPath() const {
- return _uriTunnelPath;
- }
+ std::string getUriTunnelPath() const;
/// Accessor for the TlsCertPath
- std::string getTlsCertPath() const {
- return _tlsCertPath;
- }
+ std::string getTlsCertPath() const;
/// Accessor for the TlsCertPathCollection
- SmartPtrCCertPathCollectionDoc getTlsCertPathCollection() const {
- return _tlsCertPathCollection;
- }
+ SmartPtrCCertPathCollectionDoc getTlsCertPathCollection() const;
private:
std::string _protocolName;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type RemoteSecurityCollection
-class CRemoteSecurityCollectionDoc {
+class PERSISTENCEDOC_LINKAGE CRemoteSecurityCollectionDoc {
public:
- CRemoteSecurityCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CRemoteSecurityCollectionDoc() {}
+ CRemoteSecurityCollectionDoc();
+ virtual ~CRemoteSecurityCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCRemoteSecurityDoc> remoteSecurity = std::deque<SmartPtrCRemoteSecurityDoc>()) {
- if (! _isInitialized) {
- _remoteSecurity = remoteSecurity;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCRemoteSecurityDoc> remoteSecurity = std::deque<SmartPtrCRemoteSecurityDoc>());
public:
/// Accessor for the RemoteSecurity
- std::deque<SmartPtrCRemoteSecurityDoc> getRemoteSecurity() const {
- return _remoteSecurity;
- }
+ std::deque<SmartPtrCRemoteSecurityDoc> getRemoteSecurity() const;
private:
bool _isInitialized;
namespace Caf {
/// A simple container for objects of type CRemoteSecurityDoc
-class CRemoteSecurityDoc {
+class PERSISTENCEDOC_LINKAGE CRemoteSecurityDoc {
public:
- CRemoteSecurityDoc() :
- _isInitialized(false) {}
- virtual ~CRemoteSecurityDoc() {}
+ CRemoteSecurityDoc();
+ virtual ~CRemoteSecurityDoc();
public:
/// Initializes the object with everything required by this
const std::string& cmsCipherName = std::string(),
const SmartPtrCCertCollectionDoc& cmsCertCollection = SmartPtrCCertCollectionDoc(),
const std::string& cmsCertPath = std::string(),
- const SmartPtrCCertPathCollectionDoc& cmsCertPathCollection = SmartPtrCCertPathCollectionDoc()) {
- if (! _isInitialized) {
- _remoteId = remoteId;
- _protocolName = protocolName;
- _cmsCert = cmsCert;
- _cmsCipherName = cmsCipherName;
- _cmsCertCollection = cmsCertCollection;
-
- _cmsCertPath = cmsCertPath;
- _cmsCertPathCollection = cmsCertPathCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCCertPathCollectionDoc& cmsCertPathCollection = SmartPtrCCertPathCollectionDoc());
public:
/// Accessor for the RemoteId
- std::string getRemoteId() const {
- return _remoteId;
- }
+ std::string getRemoteId() const;
/// Accessor for the ProtocolName
- std::string getProtocolName() const {
- return _protocolName;
- }
+ std::string getProtocolName() const;
/// Accessor for the cmsCert
- std::string getCmsCert() const {
- return _cmsCert;
- }
+ std::string getCmsCert() const;
/// Accessor for the CmsCipher
- std::string getCmsCipherName() const {
- return _cmsCipherName;
- }
+ std::string getCmsCipherName() const;
/// Accessor for the CertCollection
- SmartPtrCCertCollectionDoc getCmsCertCollection() const {
- return _cmsCertCollection;
- }
+ SmartPtrCCertCollectionDoc getCmsCertCollection() const;
/// Accessor for the cmsCertPath
- std::string getCmsCertPath() const {
- return _cmsCertPath;
- }
+ std::string getCmsCertPath() const;
/// Accessor for the CertPathCollection
- SmartPtrCCertPathCollectionDoc getCmsCertPathCollection() const {
- return _cmsCertPathCollection;
- }
+ SmartPtrCCertPathCollectionDoc getCmsCertPathCollection() const;
private:
std::string _remoteId;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef PersistenceDoc_Link_h_
+#define PersistenceDoc_Link_h_
+
+#ifndef PERSISTENCEDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define PERSISTENCEDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define PERSISTENCEDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define PERSISTENCEDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/PersistenceDoc/PersistenceDocInc.h"
+
+#endif /* PersistenceDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ClassCollection
-class CClassCollectionDoc {
+class PROVIDERINFRADOC_LINKAGE CClassCollectionDoc {
public:
- CClassCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CClassCollectionDoc() {}
+ CClassCollectionDoc();
+ virtual ~CClassCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCFullyQualifiedClassGroupDoc> fullyQualifiedClass) {
- if (! _isInitialized) {
- _fullyQualifiedClass = fullyQualifiedClass;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCFullyQualifiedClassGroupDoc> fullyQualifiedClass);
public:
/// Accessor for the FullyQualifiedClass
- std::deque<SmartPtrCFullyQualifiedClassGroupDoc> getFullyQualifiedClass() const {
- return _fullyQualifiedClass;
- }
+ std::deque<SmartPtrCFullyQualifiedClassGroupDoc> getFullyQualifiedClass() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderReg
-class CProviderRegDoc {
+class PROVIDERINFRADOC_LINKAGE CProviderRegDoc {
public:
- CProviderRegDoc() :
- _staleSec(0),
- _isSchemaVisible(false),
- _isInitialized(false) {}
- virtual ~CProviderRegDoc() {}
+ CProviderRegDoc();
+ virtual ~CProviderRegDoc();
public:
/// Initializes the object with everything required by this
const std::string providerVersion,
const int32 staleSec,
const bool isSchemaVisible,
- const std::string invokerRelPath) {
- if (! _isInitialized) {
- _providerNamespace = providerNamespace;
- _providerName = providerName;
- _providerVersion = providerVersion;
- _staleSec = staleSec;
- _isSchemaVisible = isSchemaVisible;
- _invokerRelPath = invokerRelPath;
-
- _isInitialized = true;
- }
- }
+ const std::string invokerRelPath);
public:
/// Accessor for the ProviderNamespace
- std::string getProviderNamespace() const {
- return _providerNamespace;
- }
+ std::string getProviderNamespace() const;
/// Accessor for the ProviderName
- std::string getProviderName() const {
- return _providerName;
- }
+ std::string getProviderName() const;
/// Accessor for the ProviderVersion
- std::string getProviderVersion() const {
- return _providerVersion;
- }
+ std::string getProviderVersion() const;
/// Accessor for the StaleSec
- int32 getStaleSec() const {
- return _staleSec;
- }
+ int32 getStaleSec() const;
/// Accessor for the IsSchemaVisible
- bool getIsSchemaVisible() const {
- return _isSchemaVisible;
- }
+ bool getIsSchemaVisible() const;
/// Accessor for the InvokerRelPath
- std::string getInvokerRelPath() const {
- return _invokerRelPath;
- }
+ std::string getInvokerRelPath() const;
private:
std::string _providerNamespace;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type SchemaSummary
-class CSchemaSummaryDoc {
+class PROVIDERINFRADOC_LINKAGE CSchemaSummaryDoc {
public:
- CSchemaSummaryDoc() :
- _isInitialized(false) {}
- virtual ~CSchemaSummaryDoc() {}
+ CSchemaSummaryDoc();
+ virtual ~CSchemaSummaryDoc();
public:
/// Initializes the object with everything required by this
const std::string providerName,
const std::string providerVersion,
const SmartPtrCClassCollectionDoc classCollection,
- const std::string invokerPath) {
- if (! _isInitialized) {
- _providerNamespace = providerNamespace;
- _providerName = providerName;
- _providerVersion = providerVersion;
- _classCollection = classCollection;
- _invokerPath = invokerPath;
-
- _isInitialized = true;
- }
- }
+ const std::string invokerPath);
public:
/// Accessor for the ProviderNamespace
- std::string getProviderNamespace() const {
- return _providerNamespace;
- }
+ std::string getProviderNamespace() const;
/// Accessor for the ProviderName
- std::string getProviderName() const {
- return _providerName;
- }
+ std::string getProviderName() const;
/// Accessor for the ProviderVersion
- std::string getProviderVersion() const {
- return _providerVersion;
- }
+ std::string getProviderVersion() const;
/// Accessor for the ClassCollection
- SmartPtrCClassCollectionDoc getClassCollection() const {
- return _classCollection;
- }
+ SmartPtrCClassCollectionDoc getClassCollection() const;
/// Accessor for the InvokerPath
- std::string getInvokerPath() const {
- return _invokerPath;
- }
+ std::string getInvokerPath() const;
private:
bool _isInitialized;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef ProviderInfraDoc_Link_h_
+#define ProviderInfraDoc_Link_h_
+
+#ifndef PROVIDERINFRADOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define PROVIDERINFRADOC_LINKAGE __declspec(dllexport)
+ #else
+ #define PROVIDERINFRADOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define PROVIDERINFRADOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/ProviderInfraDoc/ProviderInfraDocInc.h"
+
+#endif /* ProviderInfraDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderBatch
-class CProviderBatchDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderBatchDoc {
public:
- CProviderBatchDoc() :
- _isInitialized(false) {}
- virtual ~CProviderBatchDoc() {}
+ CProviderBatchDoc();
+ virtual ~CProviderBatchDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string outputDir,
const SmartPtrCProviderCollectInstancesCollectionDoc collectInstancesCollection,
- const SmartPtrCProviderInvokeOperationCollectionDoc invokeOperationCollection) {
- if (! _isInitialized) {
- _outputDir = outputDir;
- _collectInstancesCollection = collectInstancesCollection;
- _invokeOperationCollection = invokeOperationCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCProviderInvokeOperationCollectionDoc invokeOperationCollection);
public:
/// Accessor for the OutputDir
- std::string getOutputDir() const {
- return _outputDir;
- }
+ std::string getOutputDir() const;
/// Accessor for the CollectInstancesCollection
- SmartPtrCProviderCollectInstancesCollectionDoc getCollectInstancesCollection() const {
- return _collectInstancesCollection;
- }
+ SmartPtrCProviderCollectInstancesCollectionDoc getCollectInstancesCollection() const;
/// Accessor for the InvokeOperationCollection
- SmartPtrCProviderInvokeOperationCollectionDoc getInvokeOperationCollection() const {
- return _invokeOperationCollection;
- }
+ SmartPtrCProviderInvokeOperationCollectionDoc getInvokeOperationCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderCollectInstancesCollection
-class CProviderCollectInstancesCollectionDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderCollectInstancesCollectionDoc {
public:
- CProviderCollectInstancesCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CProviderCollectInstancesCollectionDoc() {}
+ CProviderCollectInstancesCollectionDoc();
+ virtual ~CProviderCollectInstancesCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCProviderCollectInstancesDoc> collectInstances) {
- if (! _isInitialized) {
- _collectInstances = collectInstances;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCProviderCollectInstancesDoc> collectInstances);
public:
/// Accessor for the CollectInstances
- std::deque<SmartPtrCProviderCollectInstancesDoc> getCollectInstances() const {
- return _collectInstances;
- }
+ std::deque<SmartPtrCProviderCollectInstancesDoc> getCollectInstances() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderCollectInstances
-class CProviderCollectInstancesDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderCollectInstancesDoc {
public:
- CProviderCollectInstancesDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CProviderCollectInstancesDoc() {}
+ CProviderCollectInstancesDoc();
+ virtual ~CProviderCollectInstancesDoc();
public:
/// Initializes the object with everything required by this
const std::string classVersion,
const UUID jobId,
const std::string outputDir,
- const SmartPtrCParameterCollectionDoc parameterCollection) {
- if (! _isInitialized) {
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
- _jobId = jobId;
- _outputDir = outputDir;
- _parameterCollection = parameterCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCParameterCollectionDoc parameterCollection);
public:
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the OutputDir
- std::string getOutputDir() const {
- return _outputDir;
- }
+ std::string getOutputDir() const;
/// Accessor for the ParameterCollection
- SmartPtrCParameterCollectionDoc getParameterCollection() const {
- return _parameterCollection;
- }
+ SmartPtrCParameterCollectionDoc getParameterCollection() const;
private:
std::string _classNamespace;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderCollectSchemaRequest
-class CProviderCollectSchemaRequestDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderCollectSchemaRequestDoc {
public:
- CProviderCollectSchemaRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CProviderCollectSchemaRequestDoc() {}
+ CProviderCollectSchemaRequestDoc();
+ virtual ~CProviderCollectSchemaRequestDoc();
public:
/// Initializes the object with everything required by this
const std::string pmeId,
const UUID jobId,
const std::string outputDir,
- const SmartPtrCProviderRequestHeaderDoc requestHeader) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _jobId = jobId;
- _outputDir = outputDir;
- _requestHeader = requestHeader;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCProviderRequestHeaderDoc requestHeader);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the OutputDir
- std::string getOutputDir() const {
- return _outputDir;
- }
+ std::string getOutputDir() const;
/// Accessor for the RequestHeader
- SmartPtrCProviderRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCProviderRequestHeaderDoc getRequestHeader() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderInvokeOperationCollection
-class CProviderInvokeOperationCollectionDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderInvokeOperationCollectionDoc {
public:
- CProviderInvokeOperationCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CProviderInvokeOperationCollectionDoc() {}
+ CProviderInvokeOperationCollectionDoc();
+ virtual ~CProviderInvokeOperationCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCProviderInvokeOperationDoc> invokeOperation) {
- if (! _isInitialized) {
- _invokeOperation = invokeOperation;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCProviderInvokeOperationDoc> invokeOperation);
public:
/// Accessor for the InvokeOperation
- std::deque<SmartPtrCProviderInvokeOperationDoc> getInvokeOperation() const {
- return _invokeOperation;
- }
+ std::deque<SmartPtrCProviderInvokeOperationDoc> getInvokeOperation() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderInvokeOperation
-class CProviderInvokeOperationDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderInvokeOperationDoc {
public:
- CProviderInvokeOperationDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CProviderInvokeOperationDoc() {}
+ CProviderInvokeOperationDoc();
+ virtual ~CProviderInvokeOperationDoc();
public:
/// Initializes the object with everything required by this
const std::string classVersion,
const UUID jobId,
const std::string outputDir,
- const SmartPtrCOperationDoc operation) {
- if (! _isInitialized) {
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
- _jobId = jobId;
- _outputDir = outputDir;
- _operation = operation;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCOperationDoc operation);
public:
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the OutputDir
- std::string getOutputDir() const {
- return _outputDir;
- }
+ std::string getOutputDir() const;
/// Accessor for the Operation
- SmartPtrCOperationDoc getOperation() const {
- return _operation;
- }
+ SmartPtrCOperationDoc getOperation() const;
private:
std::string _classNamespace;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderRequestConfig
-class CProviderRequestConfigDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderRequestConfigDoc {
public:
- CProviderRequestConfigDoc() :
- _isInitialized(false) {}
- virtual ~CProviderRequestConfigDoc() {}
+ CProviderRequestConfigDoc();
+ virtual ~CProviderRequestConfigDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string responseFormatType,
- const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection) {
- if (! _isInitialized) {
- _responseFormatType = responseFormatType;
- _loggingLevelCollection = loggingLevelCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection);
public:
/// Accessor for the ResponseFormatType
- std::string getResponseFormatType() const {
- return _responseFormatType;
- }
+ std::string getResponseFormatType() const;
/// Accessor for the LoggingLevelCollection
- SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const {
- return _loggingLevelCollection;
- }
+ SmartPtrCLoggingLevelCollectionDoc getLoggingLevelCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderRequest
-class CProviderRequestDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderRequestDoc {
public:
- CProviderRequestDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CProviderRequestDoc() {}
+ CProviderRequestDoc();
+ virtual ~CProviderRequestDoc();
public:
/// Initializes the object with everything required by this
const std::string pmeId,
const SmartPtrCProviderRequestHeaderDoc requestHeader,
const SmartPtrCProviderBatchDoc batch,
- const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _requestHeader = requestHeader;
- _batch = batch;
- _attachmentCollection = attachmentCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the RequestHeader
- SmartPtrCProviderRequestHeaderDoc getRequestHeader() const {
- return _requestHeader;
- }
+ SmartPtrCProviderRequestHeaderDoc getRequestHeader() const;
/// Accessor for the Batch
- SmartPtrCProviderBatchDoc getBatch() const {
- return _batch;
- }
+ SmartPtrCProviderBatchDoc getBatch() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderRequestHeader
-class CProviderRequestHeaderDoc {
+class PROVIDERREQUESTDOC_LINKAGE CProviderRequestHeaderDoc {
public:
- CProviderRequestHeaderDoc() :
- _isInitialized(false) {}
- virtual ~CProviderRequestHeaderDoc() {}
+ CProviderRequestHeaderDoc();
+ virtual ~CProviderRequestHeaderDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const SmartPtrCProviderRequestConfigDoc requestConfig,
- const SmartPtrCPropertyCollectionDoc echoPropertyBag) {
- if (! _isInitialized) {
- _requestConfig = requestConfig;
- _echoPropertyBag = echoPropertyBag;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCPropertyCollectionDoc echoPropertyBag);
public:
/// Accessor for the RequestConfig
- SmartPtrCProviderRequestConfigDoc getRequestConfig() const {
- return _requestConfig;
- }
+ SmartPtrCProviderRequestConfigDoc getRequestConfig() const;
/// Accessor for the EchoPropertyBag
- SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const {
- return _echoPropertyBag;
- }
+ SmartPtrCPropertyCollectionDoc getEchoPropertyBag() const;
private:
bool _isInitialized;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef ProviderRequestDoc_Link_h_
+#define ProviderRequestDoc_Link_h_
+
+#ifndef PROVIDERREQUESTDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define PROVIDERREQUESTDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define PROVIDERREQUESTDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define PROVIDERREQUESTDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/ProviderRequestDoc/ProviderRequestDocInc.h"
+
+#endif /* ProviderRequestDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Cdif
-class CCdifDoc {
+class PROVIDERRESULTSDOC_LINKAGE CCdifDoc {
public:
- CCdifDoc() :
- _isInitialized(false) {}
- virtual ~CCdifDoc() {}
+ CCdifDoc();
+ virtual ~CCdifDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const SmartPtrCRequestIdentifierDoc requestIdentifier,
const SmartPtrCDefinitionObjectCollectionDoc definitionObjectCollection,
- const SmartPtrCSchemaDoc schema) {
- if (! _isInitialized) {
- _requestIdentifier = requestIdentifier;
- _definitionObjectCollection = definitionObjectCollection;
- _schema = schema;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCSchemaDoc schema);
public:
/// Accessor for the RequestIdentifier
- SmartPtrCRequestIdentifierDoc getRequestIdentifier() const {
- return _requestIdentifier;
- }
+ SmartPtrCRequestIdentifierDoc getRequestIdentifier() const;
/// Accessor for the DefinitionObjectCollection
- SmartPtrCDefinitionObjectCollectionDoc getDefinitionObjectCollection() const {
- return _definitionObjectCollection;
- }
+ SmartPtrCDefinitionObjectCollectionDoc getDefinitionObjectCollection() const;
/// Accessor for the Schema
- SmartPtrCSchemaDoc getSchema() const {
- return _schema;
- }
+ SmartPtrCSchemaDoc getSchema() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Set of elements containing data returned as a result of a provider collection or action
-class CDefinitionObjectCollectionDoc {
+class PROVIDERRESULTSDOC_LINKAGE CDefinitionObjectCollectionDoc {
public:
- CDefinitionObjectCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CDefinitionObjectCollectionDoc() {}
+ CDefinitionObjectCollectionDoc();
+ virtual ~CDefinitionObjectCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<std::string> value) {
- if (! _isInitialized) {
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::deque<std::string> value);
public:
/// Accessor for the Value
- std::deque<std::string> getValue() const {
- return _value;
- }
+ std::deque<std::string> getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Fields that allow client to determine which request resulted in this response document
-class CRequestIdentifierDoc {
+class PROVIDERRESULTSDOC_LINKAGE CRequestIdentifierDoc {
public:
- CRequestIdentifierDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _jobId(CAFCOMMON_GUID_NULL),
- _sessionId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CRequestIdentifierDoc() {}
+ CRequestIdentifierDoc();
+ virtual ~CRequestIdentifierDoc();
public:
/// Initializes the object with everything required by this
const std::string pmeId,
const UUID jobId,
const SmartPtrCActionClassDoc actionClass,
- const UUID sessionId) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _jobId = jobId;
- _actionClass = actionClass;
- _sessionId = sessionId;
-
- _isInitialized = true;
- }
- }
+ const UUID sessionId);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Identifier of the specific job within the request
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the ActionClass
- SmartPtrCActionClassDoc getActionClass() const {
- return _actionClass;
- }
+ SmartPtrCActionClassDoc getActionClass() const;
/// Client-configurable identifier that is opaque (not used) by the Common Agent Framework
- UUID getSessionId() const {
- return _sessionId;
- }
+ UUID getSessionId() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Set of elements describing the objects that can be generated by the provider
-class CSchemaDoc {
+class PROVIDERRESULTSDOC_LINKAGE CSchemaDoc {
public:
- CSchemaDoc() :
- _isInitialized(false) {}
- virtual ~CSchemaDoc() {}
+ CSchemaDoc();
+ virtual ~CSchemaDoc();
public:
/// Initializes the object with everything required by this
const std::deque<SmartPtrCDataClassDoc> dataClassCollection,
const std::deque<SmartPtrCActionClassDoc> actionClassCollection,
const std::deque<SmartPtrCLogicalRelationshipDoc> logicalRelationshipCollection = std::deque<SmartPtrCLogicalRelationshipDoc>(),
- const std::deque<SmartPtrCPhysicalRelationshipDoc> physicalRelationshipCollection = std::deque<SmartPtrCPhysicalRelationshipDoc>()) {
- if (! _isInitialized) {
- _dataClassCollection = dataClassCollection;
- _actionClassCollection = actionClassCollection;
- _logicalRelationshipCollection = logicalRelationshipCollection;
- _physicalRelationshipCollection = physicalRelationshipCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCPhysicalRelationshipDoc> physicalRelationshipCollection = std::deque<SmartPtrCPhysicalRelationshipDoc>());
public:
/// Accessor for the DataClassCollection
- std::deque<SmartPtrCDataClassDoc> getDataClassCollection() const {
- return _dataClassCollection;
- }
+ std::deque<SmartPtrCDataClassDoc> getDataClassCollection() const;
/// Accessor for the ActionClassCollection
- std::deque<SmartPtrCActionClassDoc> getActionClassCollection() const {
- return _actionClassCollection;
- }
+ std::deque<SmartPtrCActionClassDoc> getActionClassCollection() const;
/// Accessor for the LogicalRelationshipCollection
- std::deque<SmartPtrCLogicalRelationshipDoc> getLogicalRelationshipCollection() const {
- return _logicalRelationshipCollection;
- }
+ std::deque<SmartPtrCLogicalRelationshipDoc> getLogicalRelationshipCollection() const;
/// Accessor for the PhysicalRelationshipCollection
- std::deque<SmartPtrCPhysicalRelationshipDoc> getPhysicalRelationshipCollection() const {
- return _physicalRelationshipCollection;
- }
+ std::deque<SmartPtrCPhysicalRelationshipDoc> getPhysicalRelationshipCollection() const;
private:
bool _isInitialized;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef ProviderResultsDoc_Link_h_
+#define ProviderResultsDoc_Link_h_
+
+#ifndef PROVIDERRESULTSDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define PROVIDERRESULTSDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define PROVIDERRESULTSDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define PROVIDERRESULTSDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/ProviderResultsDoc/ProviderResultsDocInc.h"
+
+#endif /* ProviderResultsDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ErrorResponse
-class CErrorResponseDoc {
+class RESPONSEDOC_LINKAGE CErrorResponseDoc {
public:
- CErrorResponseDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CErrorResponseDoc() {}
+ CErrorResponseDoc();
+ virtual ~CErrorResponseDoc();
public:
/// Initializes the object with everything required by this
const UUID requestId,
const std::string pmeId,
const SmartPtrCResponseHeaderDoc responseHeader,
- const std::string errorMessage) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _responseHeader = responseHeader;
- _errorMessage = errorMessage;
-
- _isInitialized = true;
- }
- }
+ const std::string errorMessage);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the Response Header
- SmartPtrCResponseHeaderDoc getResponseHeader() const {
- return _responseHeader;
- }
+ SmartPtrCResponseHeaderDoc getResponseHeader() const;
/// Accessor for the ErrorMessage
- std::string getErrorMessage() const {
- return _errorMessage;
- }
+ std::string getErrorMessage() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type EventKeyCollection
-class CEventKeyCollectionDoc {
+class RESPONSEDOC_LINKAGE CEventKeyCollectionDoc {
public:
- CEventKeyCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CEventKeyCollectionDoc() {}
+ CEventKeyCollectionDoc();
+ virtual ~CEventKeyCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCEventKeyDoc> eventKey) {
- if (! _isInitialized) {
- _eventKey = eventKey;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCEventKeyDoc> eventKey);
public:
/// Accessor for the EventKey
- std::deque<SmartPtrCEventKeyDoc> getEventKey() const {
- return _eventKey;
- }
+ std::deque<SmartPtrCEventKeyDoc> getEventKey() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type EventKey
-class CEventKeyDoc {
+class RESPONSEDOC_LINKAGE CEventKeyDoc {
public:
- CEventKeyDoc() :
- _isInitialized(false) {}
- virtual ~CEventKeyDoc() {}
+ CEventKeyDoc();
+ virtual ~CEventKeyDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string name,
- const std::string value) {
- if (! _isInitialized) {
- _name = name;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::string value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Value
- std::string getValue() const {
- return _value;
- }
+ std::string getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type EventManifest
-class CEventManifestDoc {
+class RESPONSEDOC_LINKAGE CEventManifestDoc {
public:
- CEventManifestDoc() :
- _isInitialized(false) {}
- virtual ~CEventManifestDoc() {}
+ CEventManifestDoc();
+ virtual ~CEventManifestDoc();
public:
/// Initializes the object with everything required by this
const std::string className,
const std::string classVersion,
const std::string operationName,
- const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
- if (! _isInitialized) {
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
- _operationName = operationName;
- _attachmentCollection = attachmentCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection);
public:
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
/// Accessor for the OperationName
- std::string getOperationName() const {
- return _operationName;
- }
+ std::string getOperationName() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ManifestCollection
-class CManifestCollectionDoc {
+class RESPONSEDOC_LINKAGE CManifestCollectionDoc {
public:
- CManifestCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CManifestCollectionDoc() {}
+ CManifestCollectionDoc();
+ virtual ~CManifestCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCManifestDoc> manifest) {
- if (! _isInitialized) {
- _manifest = manifest;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCManifestDoc> manifest);
public:
/// Accessor for the Manifest
- std::deque<SmartPtrCManifestDoc> getManifest() const {
- return _manifest;
- }
+ std::deque<SmartPtrCManifestDoc> getManifest() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Manifest
-class CManifestDoc {
+class RESPONSEDOC_LINKAGE CManifestDoc {
public:
- CManifestDoc() :
- _jobId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CManifestDoc() {}
+ CManifestDoc();
+ virtual ~CManifestDoc();
public:
/// Initializes the object with everything required by this
const std::string classVersion,
const UUID jobId,
const std::string operationName,
- const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection) {
- if (! _isInitialized) {
- _classNamespace = classNamespace;
- _className = className;
- _classVersion = classVersion;
- _jobId = jobId;
- _operationName = operationName;
- _attachmentNameCollection = attachmentNameCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection);
public:
/// Accessor for the ClassNamespace
- std::string getClassNamespace() const {
- return _classNamespace;
- }
+ std::string getClassNamespace() const;
/// Accessor for the ClassName
- std::string getClassName() const {
- return _className;
- }
+ std::string getClassName() const;
/// Accessor for the ClassVersion
- std::string getClassVersion() const {
- return _classVersion;
- }
+ std::string getClassVersion() const;
/// Accessor for the JobId
- UUID getJobId() const {
- return _jobId;
- }
+ UUID getJobId() const;
/// Accessor for the OperationName
- std::string getOperationName() const {
- return _operationName;
- }
+ std::string getOperationName() const;
/// Accessor for the AttachmentNameCollection
- SmartPtrCAttachmentNameCollectionDoc getAttachmentNameCollection() const {
- return _attachmentNameCollection;
- }
+ SmartPtrCAttachmentNameCollectionDoc getAttachmentNameCollection() const;
private:
std::string _classNamespace;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderEventResponse
-class CProviderEventResponseDoc {
+class RESPONSEDOC_LINKAGE CProviderEventResponseDoc {
public:
- CProviderEventResponseDoc() :
- _isInitialized(false) {}
- virtual ~CProviderEventResponseDoc() {}
+ CProviderEventResponseDoc();
+ virtual ~CProviderEventResponseDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCResponseHeaderDoc responseHeader,
const SmartPtrCEventManifestDoc manifest,
const SmartPtrCEventKeyCollectionDoc eventKeyCollection,
- const SmartPtrCStatisticsDoc statistics) {
- if (! _isInitialized) {
- _pmeId = pmeId;
- _responseHeader = responseHeader;
- _manifest = manifest;
- _eventKeyCollection = eventKeyCollection;
- _statistics = statistics;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCStatisticsDoc statistics);
public:
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the ResponseHeader
- SmartPtrCResponseHeaderDoc getResponseHeader() const {
- return _responseHeader;
- }
+ SmartPtrCResponseHeaderDoc getResponseHeader() const;
/// Accessor for the Manifest
- SmartPtrCEventManifestDoc getManifest() const {
- return _manifest;
- }
+ SmartPtrCEventManifestDoc getManifest() const;
/// Accessor for the EventKeyCollection
- SmartPtrCEventKeyCollectionDoc getEventKeyCollection() const {
- return _eventKeyCollection;
- }
+ SmartPtrCEventKeyCollectionDoc getEventKeyCollection() const;
/// Accessor for the Statistics
- SmartPtrCStatisticsDoc getStatistics() const {
- return _statistics;
- }
+ SmartPtrCStatisticsDoc getStatistics() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ProviderResponse
-class CProviderResponseDoc {
+class RESPONSEDOC_LINKAGE CProviderResponseDoc {
public:
- CProviderResponseDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CProviderResponseDoc() {}
+ CProviderResponseDoc();
+ virtual ~CProviderResponseDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCResponseHeaderDoc responseHeader,
const SmartPtrCManifestDoc manifest,
const SmartPtrCAttachmentCollectionDoc attachmentCollection,
- const SmartPtrCStatisticsDoc statistics) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _responseHeader = responseHeader;
- _manifest = manifest;
- _attachmentCollection = attachmentCollection;
- _statistics = statistics;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCStatisticsDoc statistics);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the ResponseHeader
- SmartPtrCResponseHeaderDoc getResponseHeader() const {
- return _responseHeader;
- }
+ SmartPtrCResponseHeaderDoc getResponseHeader() const;
/// Accessor for the Manifest
- SmartPtrCManifestDoc getManifest() const {
- return _manifest;
- }
+ SmartPtrCManifestDoc getManifest() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
/// Accessor for the Statistics
- SmartPtrCStatisticsDoc getStatistics() const {
- return _statistics;
- }
+ SmartPtrCStatisticsDoc getStatistics() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type Response
-class CResponseDoc {
+class RESPONSEDOC_LINKAGE CResponseDoc {
public:
- CResponseDoc() :
- _clientId(CAFCOMMON_GUID_NULL),
- _requestId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CResponseDoc() {}
+ CResponseDoc();
+ virtual ~CResponseDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCResponseHeaderDoc responseHeader,
const SmartPtrCManifestCollectionDoc manifestCollection,
const SmartPtrCAttachmentCollectionDoc attachmentCollection,
- const SmartPtrCStatisticsDoc statistics) {
- if (! _isInitialized) {
- _clientId = clientId;
- _requestId = requestId;
- _pmeId = pmeId;
- _responseHeader = responseHeader;
- _manifestCollection = manifestCollection;
- _attachmentCollection = attachmentCollection;
- _statistics = statistics;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCStatisticsDoc statistics);
public:
/// Accessor for the ClientId
- UUID getClientId() const {
- return _clientId;
- }
+ UUID getClientId() const;
/// Accessor for the RequestId
- UUID getRequestId() const {
- return _requestId;
- }
+ UUID getRequestId() const;
/// Accessor for the PmeId
- std::string getPmeId() const {
- return _pmeId;
- }
+ std::string getPmeId() const;
/// Accessor for the ManifestCollection
- SmartPtrCResponseHeaderDoc getResponseHeader() const {
- return _responseHeader;
- }
+ SmartPtrCResponseHeaderDoc getResponseHeader() const;
/// Accessor for the ManifestCollection
- SmartPtrCManifestCollectionDoc getManifestCollection() const {
- return _manifestCollection;
- }
+ SmartPtrCManifestCollectionDoc getManifestCollection() const;
/// Accessor for the AttachmentCollection
- SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const {
- return _attachmentCollection;
- }
+ SmartPtrCAttachmentCollectionDoc getAttachmentCollection() const;
/// Accessor for the Statistics
- SmartPtrCStatisticsDoc getStatistics() const {
- return _statistics;
- }
+ SmartPtrCStatisticsDoc getStatistics() const;
private:
UUID _clientId;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ResponseHeader
-class CResponseHeaderDoc {
+class RESPONSEDOC_LINKAGE CResponseHeaderDoc {
public:
- CResponseHeaderDoc() :
- _sequenceNumber(0),
- _isFinalResponse(true),
- _sessionId(CAFCOMMON_GUID_NULL),
- _isInitialized(false) {}
- virtual ~CResponseHeaderDoc() {}
+ CResponseHeaderDoc();
+ virtual ~CResponseHeaderDoc();
public:
/// Initializes the object with everything required by this
const std::string createdDateTime = CDateTimeUtils::getCurrentDateTime(),
const uint32 sequenceNumber = 0,
const bool isFinalResponse = true,
- const UUID sessionId = CAFCOMMON_GUID_NULL) {
- if (! _isInitialized) {
- _version = version;
- _createdDateTime = createdDateTime;
- _sequenceNumber = sequenceNumber;
- _isFinalResponse = isFinalResponse;
- _sessionId = sessionId;
-
- _isInitialized = true;
- }
- }
+ const UUID sessionId = CAFCOMMON_GUID_NULL);
public:
/// Accessor for the version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the date/time when the request was created
- std::string getCreatedDateTime() const {
- return _createdDateTime;
- }
+ std::string getCreatedDateTime() const;
/// Accessor for the sequenceNumber
- uint32 getSequenceNumber() const {
- return _sequenceNumber;
- }
+ uint32 getSequenceNumber() const;
/// Accessor for the version
- bool getIsFinalResponse() const {
- return _isFinalResponse;
- }
+ bool getIsFinalResponse() const;
/// Accessor for the session ID
- UUID getSessionId() const {
- return _sessionId;
- }
+ UUID getSessionId() const;
private:
std::string _version;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef ResponseDoc_Link_h_
+#define ResponseDoc_Link_h_
+
+#ifndef RESPONSEDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define RESPONSEDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define RESPONSEDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define RESPONSEDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/ResponseDoc/ResponseDocInc.h"
+
+#endif /* ResponseDoc_Link_h_ */
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of an action class that may be generated by the provider
-class CActionClassDoc {
+class SCHEMATYPESDOC_LINKAGE CActionClassDoc {
public:
- CActionClassDoc() :
- _isInitialized(false) {}
- virtual ~CActionClassDoc() {}
+ CActionClassDoc();
+ virtual ~CActionClassDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCCollectMethodDoc collectMethod,
const std::deque<SmartPtrCMethodDoc> methodCollection,
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _collectMethod = collectMethod;
- _methodCollection = methodCollection;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the CollectMethod
- SmartPtrCCollectMethodDoc getCollectMethod() const {
- return _collectMethod;
- }
+ SmartPtrCCollectMethodDoc getCollectMethod() const;
/// Accessor for the Method
- std::deque<SmartPtrCMethodDoc> getMethodCollection() const {
- return _methodCollection;
- }
+ std::deque<SmartPtrCMethodDoc> getMethodCollection() const;
/// A hint as to what this class should be called when displaying it to a human
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// A phrase to describe the class for mouse-over text, etc
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ActionClassInstanceCollection
-class CActionClassInstanceCollectionDoc {
+class SCHEMATYPESDOC_LINKAGE CActionClassInstanceCollectionDoc {
public:
- CActionClassInstanceCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CActionClassInstanceCollectionDoc() {}
+ CActionClassInstanceCollectionDoc();
+ virtual ~CActionClassInstanceCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCActionClassInstanceDoc> actionClassInstanceCollection) {
- if (! _isInitialized) {
- _actionClassInstanceCollection = actionClassInstanceCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCActionClassInstanceDoc> actionClassInstanceCollection);
public:
/// Accessor for the ActionClassInstance
- std::deque<SmartPtrCActionClassInstanceDoc> getActionClassInstanceCollection() const {
- return _actionClassInstanceCollection;
- }
+ std::deque<SmartPtrCActionClassInstanceDoc> getActionClassInstanceCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type ActionClassInstance
-class CActionClassInstanceDoc {
+class SCHEMATYPESDOC_LINKAGE CActionClassInstanceDoc {
public:
- CActionClassInstanceDoc() :
- _isInitialized(false) {}
- virtual ~CActionClassInstanceDoc() {}
+ CActionClassInstanceDoc();
+ virtual ~CActionClassInstanceDoc();
public:
/// Initializes the object with everything required by this
const std::string namespaceVal,
const std::string name,
const std::string version,
- const SmartPtrCInstanceOperationCollectionDoc instanceOperationCollection) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _instanceOperationCollection = instanceOperationCollection;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCInstanceOperationCollectionDoc instanceOperationCollection);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the InstanceOperationCollection
- SmartPtrCInstanceOperationCollectionDoc getInstanceOperationCollection() const {
- return _instanceOperationCollection;
- }
+ SmartPtrCInstanceOperationCollectionDoc getInstanceOperationCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Class description of one end of a relationship
-class CClassCardinalityDoc {
+class SCHEMATYPESDOC_LINKAGE CClassCardinalityDoc {
public:
- CClassCardinalityDoc() :
- _isInitialized(false) {}
- virtual ~CClassCardinalityDoc() {}
+ CClassCardinalityDoc();
+ virtual ~CClassCardinalityDoc();
public:
/// Initializes the object with everything required by this
const std::string namespaceVal,
const std::string name,
const std::string version,
- const std::string cardinality) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _cardinality = cardinality;
-
- _isInitialized = true;
- }
- }
+ const std::string cardinality);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Cardinality of one end relationship, i.e. has one, has many, etc
- std::string getCardinality() const {
- return _cardinality;
- }
+ std::string getCardinality() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Description of a class and the field used to identify one end of a relationship
-class CClassFieldDoc {
+class SCHEMATYPESDOC_LINKAGE CClassFieldDoc {
public:
- CClassFieldDoc() :
- _isInitialized(false) {}
- virtual ~CClassFieldDoc() {}
+ CClassFieldDoc();
+ virtual ~CClassFieldDoc();
public:
/// Initializes the object with everything required by this
const std::string namespaceVal,
const std::string name,
const std::string version,
- const std::string field) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _field = field;
-
- _isInitialized = true;
- }
- }
+ const std::string field);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Description of a class field used to identify one end of a relationship
- std::string getField() const {
- return _field;
- }
+ std::string getField() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Tuple of values to uniquely identify a class
-class CClassIdentifierDoc {
+class SCHEMATYPESDOC_LINKAGE CClassIdentifierDoc {
public:
- CClassIdentifierDoc() :
- _isInitialized(false) {}
- virtual ~CClassIdentifierDoc() {}
+ CClassIdentifierDoc();
+ virtual ~CClassIdentifierDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string namespaceVal,
const std::string name,
- const std::string version) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
-
- _isInitialized = true;
- }
- }
+ const std::string version);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of an attribute (field) of a class
-class CClassInstancePropertyDoc {
+class SCHEMATYPESDOC_LINKAGE CClassInstancePropertyDoc {
public:
- CClassInstancePropertyDoc() :
- _required(false),
- _transientVal(false),
- _list(false),
- _isInitialized(false) {}
- virtual ~CClassInstancePropertyDoc() {}
+ CClassInstancePropertyDoc();
+ virtual ~CClassInstancePropertyDoc();
public:
/// Initializes the object with everything required by this
const bool transientVal = false,
const bool list = false,
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _required = required;
- _transientVal = transientVal;
- _list = list;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Property name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Type
- std::deque<SmartPtrCClassIdentifierDoc> getType() const {
- return _type;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getType() const;
/// Whether this is a required property, i.e. this property must always be non-empty
- bool getRequired() const {
- return _required;
- }
+ bool getRequired() const;
/// Accessor for the TransientVal
- bool getTransientVal() const {
- return _transientVal;
- }
+ bool getTransientVal() const;
/// Indicates whether to expect a list of properties in the provider response
- bool getList() const {
- return _list;
- }
+ bool getList() const;
/// A hint as to what this property should be called when displaying it to a human
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// A phrase to describe the property for mouse-over text, etc
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _name;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of an attribute (field) of a class
-class CClassPropertyDoc {
+class SCHEMATYPESDOC_LINKAGE CClassPropertyDoc {
public:
- CClassPropertyDoc() :
- _type(PROPERTY_NONE),
- _required(false),
- _key(false),
- _list(false),
- _caseSensitive(false),
- _transientVal(false),
- _validator(VALIDATOR_NONE),
- _isInitialized(false) {}
- virtual ~CClassPropertyDoc() {}
+ CClassPropertyDoc();
+ virtual ~CClassPropertyDoc();
public:
/// Initializes the object with everything required by this
const std::string upperRange = std::string(),
const std::string lowerRange = std::string(),
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _value = value;
- _required = required;
- _key = key;
- _list = list;
- _caseSensitive = caseSensitive;
- _transientVal = transientVal;
- _defaultVal = defaultVal;
- _validator = validator;
- _upperRange = upperRange;
- _lowerRange = lowerRange;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Property name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Describes the data type of the property
- PROPERTY_TYPE getType() const {
- return _type;
- }
+ PROPERTY_TYPE getType() const;
/// The contents of a validator used on this property
- std::deque<std::string> getValue() const {
- return _value;
- }
+ std::deque<std::string> getValue() const;
/// Whether this is a required property, i.e. this property must always be non-empty
- bool getRequired() const {
- return _required;
- }
+ bool getRequired() const;
/// Indicates this property may be used as a key identifying field
- bool getKey() const {
- return _key;
- }
+ bool getKey() const;
/// Indicates whether to expect a list of properties in the provider response
- bool getList() const {
- return _list;
- }
+ bool getList() const;
/// Indicates whether a string field should be treated in a case-sensitive manner
- bool getCaseSensitive() const {
- return _caseSensitive;
- }
+ bool getCaseSensitive() const;
/// Accessor for the TransientVal
- bool getTransientVal() const {
- return _transientVal;
- }
+ bool getTransientVal() const;
/// Accessor for the DefaultVal
- std::string getDefaultVal() const {
- return _defaultVal;
- }
+ std::string getDefaultVal() const;
/// The type of validator described in the 'value' sub-elements
- VALIDATOR_TYPE getValidator() const {
- return _validator;
- }
+ VALIDATOR_TYPE getValidator() const;
/// If a 'range' validator is in use, this describes the upper limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
- std::string getUpperRange() const {
- return _upperRange;
- }
+ std::string getUpperRange() const;
/// If a 'range' validator is in use, this describes the lower limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
- std::string getLowerRange() const {
- return _lowerRange;
- }
+ std::string getLowerRange() const;
/// A hint as to what this property should be called when displaying it to a human
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// A phrase to describe the property for mouse-over text, etc
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _name;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type CmdlMetadata
-class CCmdlMetadataDoc {
+class SCHEMATYPESDOC_LINKAGE CCmdlMetadataDoc {
public:
- CCmdlMetadataDoc() :
- _isInitialized(false) {}
- virtual ~CCmdlMetadataDoc() {}
+ CCmdlMetadataDoc();
+ virtual ~CCmdlMetadataDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string name,
- const std::string value) {
- if (! _isInitialized) {
- _name = name;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::string value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Value
- std::string getValue() const {
- return _value;
- }
+ std::string getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type CmdlUnion
-class CCmdlUnionDoc {
+class SCHEMATYPESDOC_LINKAGE CCmdlUnionDoc {
public:
- CCmdlUnionDoc() :
- _isInitialized(false) {}
- virtual ~CCmdlUnionDoc() {}
+ CCmdlUnionDoc();
+ virtual ~CCmdlUnionDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string namespaceVal,
const std::string name,
- const std::string version) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
-
- _isInitialized = true;
- }
- }
+ const std::string version);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of a collection method on a class
-class CCollectMethodDoc {
+class SCHEMATYPESDOC_LINKAGE CCollectMethodDoc {
public:
- CCollectMethodDoc() :
- _isInitialized(false) {}
- virtual ~CCollectMethodDoc() {}
+ CCollectMethodDoc();
+ virtual ~CCollectMethodDoc();
public:
/// Initializes the object with everything required by this
const std::deque<SmartPtrCInstanceParameterDoc> instanceParameterCollection = std::deque<SmartPtrCInstanceParameterDoc>(),
const std::deque<SmartPtrCClassIdentifierDoc> returnValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
- const std::deque<SmartPtrCClassIdentifierDoc> errorCollection = std::deque<SmartPtrCClassIdentifierDoc>()) {
- if (! _isInitialized) {
- _name = name;
- _parameterCollection = parameterCollection;
- _instanceParameterCollection = instanceParameterCollection;
- _returnValCollection = returnValCollection;
- _eventValCollection = eventValCollection;
- _errorCollection = errorCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCClassIdentifierDoc> errorCollection = std::deque<SmartPtrCClassIdentifierDoc>());
public:
/// name of the collection method
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Definition of a parameter that passes simple types to the collection method
- std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const {
- return _parameterCollection;
- }
+ std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const;
/// Definition of a parameter passing data class instances to the collection method
- std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const {
- return _instanceParameterCollection;
- }
+ std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const;
/// Accessor for the ReturnVal
- std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const {
- return _returnValCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const;
/// Accessor for the EventVal
- std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const {
- return _eventValCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const;
/// A class that may be returned to indicate an error occurred during the processing of the collection method
- std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const {
- return _errorCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of a data class that may be generated by the provider
-class CDataClassDoc {
+class SCHEMATYPESDOC_LINKAGE CDataClassDoc {
public:
- CDataClassDoc() :
- _unique(false),
- _transientVal(false),
- _isInitialized(false) {}
- virtual ~CDataClassDoc() {}
+ CDataClassDoc();
+ virtual ~CDataClassDoc();
public:
/// Initializes the object with everything required by this
const bool unique = false,
const bool transientVal = false,
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _propertyCollection = propertyCollection;
- _instancePropertyCollection = instancePropertyCollection;
- _unique = unique;
- _transientVal = transientVal;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the Property
- std::deque<SmartPtrCClassPropertyDoc> getPropertyCollection() const {
- return _propertyCollection;
- }
+ std::deque<SmartPtrCClassPropertyDoc> getPropertyCollection() const;
/// Accessor for the InstanceProperty
- std::deque<SmartPtrCClassInstancePropertyDoc> getInstancePropertyCollection() const {
- return _instancePropertyCollection;
- }
+ std::deque<SmartPtrCClassInstancePropertyDoc> getInstancePropertyCollection() const;
/// Indicates whether the key properties of this class are enough to guarantee uniqueness from other classes of the same type
- bool getUnique() const {
- return _unique;
- }
+ bool getUnique() const;
/// Accessor for the TransientVal
- bool getTransientVal() const {
- return _transientVal;
- }
+ bool getTransientVal() const;
/// A hint as to what this class should be called when displaying it to a human
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// A phrase to describe the class for mouse-over text, etc
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _namespaceVal;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DataClassInstanceCollection
-class CDataClassInstanceCollectionDoc {
+class SCHEMATYPESDOC_LINKAGE CDataClassInstanceCollectionDoc {
public:
- CDataClassInstanceCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CDataClassInstanceCollectionDoc() {}
+ CDataClassInstanceCollectionDoc();
+ virtual ~CDataClassInstanceCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCDataClassInstanceDoc> dataClassInstanceCollection = std::deque<SmartPtrCDataClassInstanceDoc>()) {
- if (! _isInitialized) {
- _dataClassInstanceCollection = dataClassInstanceCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCDataClassInstanceDoc> dataClassInstanceCollection = std::deque<SmartPtrCDataClassInstanceDoc>());
public:
/// Accessor for the DataClassInstance
- std::deque<SmartPtrCDataClassInstanceDoc> getDataClassInstanceCollection() const {
- return _dataClassInstanceCollection;
- }
+ std::deque<SmartPtrCDataClassInstanceDoc> getDataClassInstanceCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DataClassInstance
-class CDataClassInstanceDoc {
+class SCHEMATYPESDOC_LINKAGE CDataClassInstanceDoc {
public:
- CDataClassInstanceDoc() :
- _isInitialized(false) {}
- virtual ~CDataClassInstanceDoc() {}
+ CDataClassInstanceDoc();
+ virtual ~CDataClassInstanceDoc();
public:
/// Initializes the object with everything required by this
const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
- const SmartPtrCCmdlUnionDoc cmdlUnion) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _cmdlMetadataCollection = cmdlMetadataCollection;
- _propertyCollection = propertyCollection;
- _instancePropertyCollection = instancePropertyCollection;
- _cmdlUnion = cmdlUnion;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCCmdlUnionDoc cmdlUnion);
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the CmdlMetadata
- std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const {
- return _cmdlMetadataCollection;
- }
+ std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const;
/// Accessor for the Property
- std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const {
- return _propertyCollection;
- }
+ std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const;
/// Accessor for the InstanceProperty
- std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const {
- return _instancePropertyCollection;
- }
+ std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const;
/// Accessor for the CmdlUnion
- SmartPtrCCmdlUnionDoc getCmdlUnion() const {
- return _cmdlUnion;
- }
+ SmartPtrCCmdlUnionDoc getCmdlUnion() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DataClassProperty
-class CDataClassPropertyDoc {
+class SCHEMATYPESDOC_LINKAGE CDataClassPropertyDoc {
public:
- CDataClassPropertyDoc() :
- _isInitialized(false) {}
- virtual ~CDataClassPropertyDoc() {}
+ CDataClassPropertyDoc();
+ virtual ~CDataClassPropertyDoc();
public:
/// Initializes the object with everything required by this
void initialize(
const std::string name,
const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadata,
- const std::string value) {
- if (! _isInitialized) {
- _name = name;
- _cmdlMetadata = cmdlMetadata;
- _value = value;
-
- _isInitialized = true;
- }
- }
+ const std::string value);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the CmdlMetadata
- std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadata() const {
- return _cmdlMetadata;
- }
+ std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadata() const;
/// Accessor for the Value
- std::string getValue() const {
- return _value;
- }
+ std::string getValue() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type DataClassSubInstance
-class CDataClassSubInstanceDoc {
+class SCHEMATYPESDOC_LINKAGE CDataClassSubInstanceDoc {
public:
- CDataClassSubInstanceDoc() :
- _isInitialized(false) {}
- virtual ~CDataClassSubInstanceDoc() {}
+ CDataClassSubInstanceDoc();
+ virtual ~CDataClassSubInstanceDoc();
public:
/// Initializes the object with everything required by this
const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
- const SmartPtrCCmdlUnionDoc cmdlUnion) {
- if (! _isInitialized) {
- _name = name;
- _cmdlMetadataCollection = cmdlMetadataCollection;
- _propertyCollection = propertyCollection;
- _instancePropertyCollection = instancePropertyCollection;
- _cmdlUnion = cmdlUnion;
-
- _isInitialized = true;
- }
- }
+ const SmartPtrCCmdlUnionDoc cmdlUnion);
public:
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the CmdlMetadata
- std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const {
- return _cmdlMetadataCollection;
- }
+ std::deque<SmartPtrCCmdlMetadataDoc> getCmdlMetadataCollection() const;
/// Accessor for the Property
- std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const {
- return _propertyCollection;
- }
+ std::deque<SmartPtrCDataClassPropertyDoc> getPropertyCollection() const;
/// Accessor for the InstanceProperty
- std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const {
- return _instancePropertyCollection;
- }
+ std::deque<SmartPtrCDataClassSubInstanceDoc> getInstancePropertyCollection() const;
/// Accessor for the CmdlUnion
- SmartPtrCCmdlUnionDoc getCmdlUnion() const {
- return _cmdlUnion;
- }
+ SmartPtrCCmdlUnionDoc getCmdlUnion() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstanceOperationCollection
-class CInstanceOperationCollectionDoc {
+class SCHEMATYPESDOC_LINKAGE CInstanceOperationCollectionDoc {
public:
- CInstanceOperationCollectionDoc() :
- _isInitialized(false) {}
- virtual ~CInstanceOperationCollectionDoc() {}
+ CInstanceOperationCollectionDoc();
+ virtual ~CInstanceOperationCollectionDoc();
public:
/// Initializes the object with everything required by this
/// container. Once initialized, this object cannot
/// be changed (i.e. it is immutable).
void initialize(
- const std::deque<SmartPtrCInstanceOperationDoc> instanceOperationCollection) {
- if (! _isInitialized) {
- _instanceOperationCollection = instanceOperationCollection;
-
- _isInitialized = true;
- }
- }
+ const std::deque<SmartPtrCInstanceOperationDoc> instanceOperationCollection);
public:
/// Accessor for the InstanceOperation
- std::deque<SmartPtrCInstanceOperationDoc> getInstanceOperationCollection() const {
- return _instanceOperationCollection;
- }
+ std::deque<SmartPtrCInstanceOperationDoc> getInstanceOperationCollection() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type InstanceOperation
-class CInstanceOperationDoc {
+class SCHEMATYPESDOC_LINKAGE CInstanceOperationDoc {
public:
- CInstanceOperationDoc() :
- _isInitialized(false) {}
- virtual ~CInstanceOperationDoc() {}
+ CInstanceOperationDoc();
+ virtual ~CInstanceOperationDoc();
public:
/// Initializes the object with everything required by this
/// be changed (i.e. it is immutable).
void initialize(
const std::string operationName,
- const std::string moniker) {
- if (! _isInitialized) {
- _operationName = operationName;
- _moniker = moniker;
-
- _isInitialized = true;
- }
- }
+ const std::string moniker);
public:
/// Accessor for the OperationName
- std::string getOperationName() const {
- return _operationName;
- }
+ std::string getOperationName() const;
/// Accessor for the Moniker
- std::string getMoniker() const {
- return _moniker;
- }
+ std::string getMoniker() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A parameter containing a data class instance used by a method to control the outcome
-class CInstanceParameterDoc {
+class SCHEMATYPESDOC_LINKAGE CInstanceParameterDoc {
public:
- CInstanceParameterDoc() :
- _isOptional(false),
- _isList(false),
- _isInitialized(false) {}
- virtual ~CInstanceParameterDoc() {}
+ CInstanceParameterDoc();
+ virtual ~CInstanceParameterDoc();
public:
/// Initializes the object with everything required by this
const bool isOptional = false,
const bool isList = false,
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _name = name;
- _instanceNamespace = instanceNamespace;
- _instanceName = instanceName;
- _instanceVersion = instanceVersion;
- _isOptional = isOptional;
- _isList = isList;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Name of parameter
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Namespace of instance object type
- std::string getInstanceNamespace() const {
- return _instanceNamespace;
- }
+ std::string getInstanceNamespace() const;
/// Name of instance object type
- std::string getInstanceName() const {
- return _instanceName;
- }
+ std::string getInstanceName() const;
/// Version of instance object type
- std::string getInstanceVersion() const {
- return _instanceVersion;
- }
+ std::string getInstanceVersion() const;
/// Indicates this parameter need not be passed
- bool getIsOptional() const {
- return _isOptional;
- }
+ bool getIsOptional() const;
/// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
- bool getIsList() const {
- return _isList;
- }
+ bool getIsList() const;
/// Human-readable version of the parameter name
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// Short description of what the parameter is for
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _name;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A simple container for objects of type JoinType
-class CJoinTypeDoc {
+class SCHEMATYPESDOC_LINKAGE CJoinTypeDoc {
public:
- CJoinTypeDoc() :
- _operand(OPERATOR_NONE),
- _isInitialized(false) {}
- virtual ~CJoinTypeDoc() {}
+ CJoinTypeDoc();
+ virtual ~CJoinTypeDoc();
public:
/// Initializes the object with everything required by this
const OPERATOR_TYPE operand,
const SmartPtrCClassFieldDoc dataClassLeft,
const SmartPtrCClassFieldDoc dataClassRight,
- const std::string description) {
- if (! _isInitialized) {
- _operand = operand;
- _dataClassLeft = dataClassLeft;
- _dataClassRight = dataClassRight;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description);
public:
/// Defines the operand used to join the class fields. Restricted to '=' for now
- OPERATOR_TYPE getOperand() const {
- return _operand;
- }
+ OPERATOR_TYPE getOperand() const;
/// Identifies the fields on classes that uniquely identify relationship
- SmartPtrCClassFieldDoc getDataClassLeft() const {
- return _dataClassLeft;
- }
+ SmartPtrCClassFieldDoc getDataClassLeft() const;
/// Identifies the fields on classes that uniquely identify relationship
- SmartPtrCClassFieldDoc getDataClassRight() const {
- return _dataClassRight;
- }
+ SmartPtrCClassFieldDoc getDataClassRight() const;
/// A short human-readable description of the join
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
OPERATOR_TYPE _operand;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of a relationship between classes that can be described by identifying the fields on the classes that uniquely identify the relationship
-class CLogicalRelationshipDoc {
+class SCHEMATYPESDOC_LINKAGE CLogicalRelationshipDoc {
public:
- CLogicalRelationshipDoc() :
- _arity(ARITY_NONE),
- _isInitialized(false) {}
- virtual ~CLogicalRelationshipDoc() {}
+ CLogicalRelationshipDoc();
+ virtual ~CLogicalRelationshipDoc();
public:
/// Initializes the object with everything required by this
const SmartPtrCClassCardinalityDoc dataClassLeft,
const SmartPtrCClassCardinalityDoc dataClassRight,
const std::deque<SmartPtrCJoinTypeDoc> joinCollection,
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _arity = arity;
- _dataClassLeft = dataClassLeft;
- _dataClassRight = dataClassRight;
- _joinCollection = joinCollection;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the Arity
- ARITY_TYPE getArity() const {
- return _arity;
- }
+ ARITY_TYPE getArity() const;
/// Accessor for the DataClassLeft
- SmartPtrCClassCardinalityDoc getDataClassLeft() const {
- return _dataClassLeft;
- }
+ SmartPtrCClassCardinalityDoc getDataClassLeft() const;
/// Accessor for the DataClassRight
- SmartPtrCClassCardinalityDoc getDataClassRight() const {
- return _dataClassRight;
- }
+ SmartPtrCClassCardinalityDoc getDataClassRight() const;
/// Defines a join condition of the relationship
- std::deque<SmartPtrCJoinTypeDoc> getJoinCollection() const {
- return _joinCollection;
- }
+ std::deque<SmartPtrCJoinTypeDoc> getJoinCollection() const;
/// Accessor for the Description
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _namespaceVal;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of a method on a class
-class CMethodDoc {
+class SCHEMATYPESDOC_LINKAGE CMethodDoc {
public:
- CMethodDoc() :
- _isInitialized(false) {}
- virtual ~CMethodDoc() {}
+ CMethodDoc();
+ virtual ~CMethodDoc();
public:
/// Initializes the object with everything required by this
const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
const std::deque<SmartPtrCClassIdentifierDoc> errorCollection = std::deque<SmartPtrCClassIdentifierDoc>(),
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _name = name;
- _parameterCollection = parameterCollection;
- _instanceParameterCollection = instanceParameterCollection;
- _returnValCollection = returnValCollection;
- _eventValCollection = eventValCollection;
- _errorCollection = errorCollection;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// name of the method
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Definition of a parameter that passes simple types to the method
- std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const {
- return _parameterCollection;
- }
+ std::deque<SmartPtrCMethodParameterDoc> getParameterCollection() const;
/// Definition of a parameter that passes data class instances to the method
- std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const {
- return _instanceParameterCollection;
- }
+ std::deque<SmartPtrCInstanceParameterDoc> getInstanceParameterCollection() const;
/// Accessor for the ReturnVal
- std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const {
- return _returnValCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getReturnValCollection() const;
/// Accessor for the EventVal
- std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const {
- return _eventValCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getEventValCollection() const;
/// A class that may be returned to indicate an error occurred during the processing of the collection method
- std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const {
- return _errorCollection;
- }
+ std::deque<SmartPtrCClassIdentifierDoc> getErrorCollection() const;
/// Human-readable version of the method name
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// A short phrase describing the purpose of the method
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
bool _isInitialized;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// A parameter containing a simple type used by a method to control the outcome
-class CMethodParameterDoc {
+class SCHEMATYPESDOC_LINKAGE CMethodParameterDoc {
public:
- CMethodParameterDoc() :
- _type(PARAMETER_NONE),
- _isOptional(false),
- _isList(false),
- _isInitialized(false) {}
- virtual ~CMethodParameterDoc() {}
+ CMethodParameterDoc();
+ virtual ~CMethodParameterDoc();
public:
/// Initializes the object with everything required by this
const bool isList = false,
const std::string defaultVal = std::string(),
const std::string displayName = std::string(),
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _name = name;
- _type = type;
- _isOptional = isOptional;
- _isList = isList;
- _defaultVal = defaultVal;
- _displayName = displayName;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Name of parameter
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Describes the data type of the property
- PARAMETER_TYPE getType() const {
- return _type;
- }
+ PARAMETER_TYPE getType() const;
/// Indicates this parameter need not be passed
- bool getIsOptional() const {
- return _isOptional;
- }
+ bool getIsOptional() const;
/// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
- bool getIsList() const {
- return _isList;
- }
+ bool getIsList() const;
/// Accessor for the DefaultVal
- std::string getDefaultVal() const {
- return _defaultVal;
- }
+ std::string getDefaultVal() const;
/// Human-readable version of the parameter name
- std::string getDisplayName() const {
- return _displayName;
- }
+ std::string getDisplayName() const;
/// Short description of what the parameter is for
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _name;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Describes a relationship between dataclass where the key information from data class instances comprising the relationship are listed in an instance of this class
-class CPhysicalRelationshipDoc {
+class SCHEMATYPESDOC_LINKAGE CPhysicalRelationshipDoc {
public:
- CPhysicalRelationshipDoc() :
- _arity(ARITY_NONE),
- _isInitialized(false) {}
- virtual ~CPhysicalRelationshipDoc() {}
+ CPhysicalRelationshipDoc();
+ virtual ~CPhysicalRelationshipDoc();
public:
/// Initializes the object with everything required by this
const ARITY_TYPE arity,
const SmartPtrCClassCardinalityDoc dataClassLeft,
const SmartPtrCClassCardinalityDoc dataClassRight,
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _arity = arity;
- _dataClassLeft = dataClassLeft;
- _dataClassRight = dataClassRight;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Accessor for the Arity
- ARITY_TYPE getArity() const {
- return _arity;
- }
+ ARITY_TYPE getArity() const;
/// Accessor for the DataClassLeft
- SmartPtrCClassCardinalityDoc getDataClassLeft() const {
- return _dataClassLeft;
- }
+ SmartPtrCClassCardinalityDoc getDataClassLeft() const;
/// Accessor for the DataClassRight
- SmartPtrCClassCardinalityDoc getDataClassRight() const {
- return _dataClassRight;
- }
+ SmartPtrCClassCardinalityDoc getDataClassRight() const;
/// Accessor for the Description
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _namespaceVal;
* Copyright (c) 2012 Vmware, Inc. All rights reserved.
* -- VMware Confidential
*
- * This code was generated by the script "build/dev/codeGen/genCppDoc". Please
- * speak to Brian W. before modifying it by hand.
*
*/
namespace Caf {
/// Definition of a relationship between data classes
-class CRelationshipDoc {
+class SCHEMATYPESDOC_LINKAGE CRelationshipDoc {
public:
- CRelationshipDoc() :
- _arity(ARITY_NONE),
- _isInitialized(false) {}
- virtual ~CRelationshipDoc() {}
+ CRelationshipDoc();
+ virtual ~CRelationshipDoc();
public:
/// Initializes the object with everything required by this
const ARITY_TYPE arity,
const SmartPtrCClassCardinalityDoc dataClassLeft,
const SmartPtrCClassCardinalityDoc dataClassRight,
- const std::string description = std::string()) {
- if (! _isInitialized) {
- _namespaceVal = namespaceVal;
- _name = name;
- _version = version;
- _arity = arity;
- _dataClassLeft = dataClassLeft;
- _dataClassRight = dataClassRight;
- _description = description;
-
- _isInitialized = true;
- }
- }
+ const std::string description = std::string());
public:
/// Accessor for the NamespaceVal
- std::string getNamespaceVal() const {
- return _namespaceVal;
- }
+ std::string getNamespaceVal() const;
/// Accessor for the Name
- std::string getName() const {
- return _name;
- }
+ std::string getName() const;
/// Accessor for the Version
- std::string getVersion() const {
- return _version;
- }
+ std::string getVersion() const;
/// Number of parts (sides) to relationship. Restricted to a two-sided relationship for now
- ARITY_TYPE getArity() const {
- return _arity;
- }
+ ARITY_TYPE getArity() const;
/// Identifies the two classes that make up the relationship
- SmartPtrCClassCardinalityDoc getDataClassLeft() const {
- return _dataClassLeft;
- }
+ SmartPtrCClassCardinalityDoc getDataClassLeft() const;
/// Identifies the two classes that make up the relationship
- SmartPtrCClassCardinalityDoc getDataClassRight() const {
- return _dataClassRight;
- }
+ SmartPtrCClassCardinalityDoc getDataClassRight() const;
/// A short human-readable description of the relationship
- std::string getDescription() const {
- return _description;
- }
+ std::string getDescription() const;
private:
std::string _namespaceVal;
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef SchemaTypesDoc_Link_h_
+#define SchemaTypesDoc_Link_h_
+
+#ifndef SCHEMATYPESDOC_LINKAGE
+ #ifdef WIN32
+ #ifdef FRAMEWORK_BUILD
+ #define SCHEMATYPESDOC_LINKAGE __declspec(dllexport)
+ #else
+ #define SCHEMATYPESDOC_LINKAGE __declspec(dllimport)
+ #endif
+ #else
+ #define SCHEMATYPESDOC_LINKAGE
+ #endif
+#endif
+
+#include "Doc/SchemaTypesDoc/SchemaTypesDocInc.h"
+
+#endif /* SchemaTypesDoc_Link_h_ */
#ifndef DocContracts_h_
#define DocContracts_h_
-#include "Doc/CafCoreTypesDoc/CafCoreTypesDocInc.h"
-#include "Doc/SchemaTypesDoc/SchemaTypesDocInc.h"
-#include "Doc/DiagTypesDoc/DiagTypesDocInc.h"
-#include "Doc/DiagRequestDoc/DiagRequestDocInc.h"
-#include "Doc/MgmtTypesDoc/MgmtTypesDocInc.h"
-#include "Doc/MgmtRequestDoc/MgmtRequestDocInc.h"
-#include "Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocInc.h"
-#include "Doc/PersistenceDoc/PersistenceDocInc.h"
-#include "Doc/ProviderInfraDoc/ProviderInfraDocInc.h"
-#include "Doc/ProviderRequestDoc/ProviderRequestDocInc.h"
-#include "Doc/ProviderResultsDoc/ProviderResultsDocInc.h"
-#include "Doc/ResponseDoc/ResponseDocInc.h"
-#include "Doc/CafInstallRequestDoc/CafInstallRequestDocInc.h"
-#include "Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocInc.h"
+#include "Doc/CafCoreTypesDoc/CafCoreTypesDocLink.h"
+#include "Doc/SchemaTypesDoc/SchemaTypesDocLink.h"
+#include "Doc/DiagTypesDoc/DiagTypesDocLink.h"
+#include "Doc/DiagRequestDoc/DiagRequestDocLink.h"
+#include "Doc/MgmtTypesDoc/MgmtTypesDocLink.h"
+#include "Doc/MgmtRequestDoc/MgmtRequestDocLink.h"
+#include "Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocLink.h"
+#include "Doc/PersistenceDoc/PersistenceDocLink.h"
+#include "Doc/ProviderInfraDoc/ProviderInfraDocLink.h"
+#include "Doc/ProviderRequestDoc/ProviderRequestDocLink.h"
+#include "Doc/ProviderResultsDoc/ProviderResultsDocLink.h"
+#include "Doc/ResponseDoc/ResponseDocLink.h"
+#include "Doc/CafInstallRequestDoc/CafInstallRequestDocLink.h"
+#include "Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocLink.h"
#endif
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAddInCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type AddInCollection
+CAddInCollectionDoc::CAddInCollectionDoc() :
+ _isInitialized(false) {}
+CAddInCollectionDoc::~CAddInCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAddInCollectionDoc::initialize(
+ const std::deque<std::string> addInCollection) {
+ if (! _isInitialized) {
+ _addInCollection = addInCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the AddIn
+std::deque<std::string> CAddInCollectionDoc::getAddInCollection() const {
+ return _addInCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAddInsDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type AddIns
+CAddInsDoc::CAddInsDoc() :
+ _isInitialized(false) {}
+CAddInsDoc::~CAddInsDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAddInsDoc::initialize(
+ const std::deque<SmartPtrCAddInCollectionDoc> addInCollection) {
+ if (! _isInitialized) {
+ _addInCollection = addInCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the AddInCollection
+std::deque<SmartPtrCAddInCollectionDoc> CAddInsDoc::getAddInCollection() const {
+ return _addInCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAttachmentCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type AttachmentCollection
+CAttachmentCollectionDoc::CAttachmentCollectionDoc() :
+ _isInitialized(false) {}
+CAttachmentCollectionDoc::~CAttachmentCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAttachmentCollectionDoc::initialize(
+ const std::deque<SmartPtrCAttachmentDoc> attachment,
+ const std::deque<SmartPtrCInlineAttachmentDoc> inlineAttachment) {
+ if (! _isInitialized) {
+ _attachment = attachment;
+ _inlineAttachment = inlineAttachment;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Attachment
+std::deque<SmartPtrCAttachmentDoc> CAttachmentCollectionDoc::getAttachment() const {
+ return _attachment;
+}
+
+/// Accessor for the InlineAttachment
+std::deque<SmartPtrCInlineAttachmentDoc> CAttachmentCollectionDoc::getInlineAttachment() const {
+ return _inlineAttachment;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAttachmentDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Attachment
+CAttachmentDoc::CAttachmentDoc() :
+ _isInitialized(false),
+ _isReference(false),
+ _cmsPolicy(CMS_POLICY_CAF_ENCRYPTED_AND_SIGNED) {}
+CAttachmentDoc::~CAttachmentDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAttachmentDoc::initialize(
+ const std::string name,
+ const std::string type,
+ const std::string uri,
+ const bool isReference,
+ const CMS_POLICY cmsPolicy) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _uri = uri;
+ _isReference = isReference;
+ _cmsPolicy = cmsPolicy;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CAttachmentDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Type
+std::string CAttachmentDoc::getType() const {
+ return _type;
+}
+
+/// Accessor for the Uri
+std::string CAttachmentDoc::getUri() const {
+ return _uri;
+}
+
+/// Accessor for the IsReference
+bool CAttachmentDoc::getIsReference() const {
+ return _isReference;
+}
+
+/// Accessor for the CMS Policy
+CMS_POLICY CAttachmentDoc::getCmsPolicy() const {
+ return _cmsPolicy;
+}
+
+
+CMS_POLICY _cmsPolicy;
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type AttachmentNameCollection
+CAttachmentNameCollectionDoc::CAttachmentNameCollectionDoc() :
+ _isInitialized(false) {}
+CAttachmentNameCollectionDoc::~CAttachmentNameCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAttachmentNameCollectionDoc::initialize(
+ const std::deque<std::string> name) {
+ if (! _isInitialized) {
+ _name = name;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::deque<std::string> CAttachmentNameCollectionDoc::getName() const {
+ return _name;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.h"
+
+using namespace Caf;
+
+/// Set of logging levels for different components
+CAuthnAuthzCollectionDoc::CAuthnAuthzCollectionDoc() :
+ _isInitialized(false) {}
+CAuthnAuthzCollectionDoc::~CAuthnAuthzCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAuthnAuthzCollectionDoc::initialize(
+ const std::deque<SmartPtrCAuthnAuthzDoc> authnAuthz) {
+ if (! _isInitialized) {
+ _authnAuthz = authnAuthz;
+
+ _isInitialized = true;
+ }
+}
+
+/// Used to change the logging level for a specific component
+std::deque<SmartPtrCAuthnAuthzDoc> CAuthnAuthzCollectionDoc::getAuthnAuthz() const {
+ return _authnAuthz;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: May 24, 2015
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CAuthnAuthzDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type AuthnAuthz
+CAuthnAuthzDoc::CAuthnAuthzDoc() :
+ _isInitialized(false),
+ _sequenceNumber(0) {}
+CAuthnAuthzDoc::~CAuthnAuthzDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CAuthnAuthzDoc::initialize(
+ const std::string type,
+ const std::string value,
+ const std::string name,
+ const int32 sequenceNumber) {
+ if (! _isInitialized) {
+ _type = type;
+ _value = value;
+ _name = name;
+ _sequenceNumber = sequenceNumber;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Type
+std::string CAuthnAuthzDoc::getType() const {
+ return _type;
+}
+
+/// Accessor for the Value
+std::string CAuthnAuthzDoc::getValue() const {
+ return _value;
+}
+
+/// Accessor for the Name
+std::string CAuthnAuthzDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the SequenceNumber
+int32 CAuthnAuthzDoc::getSequenceNumber() const {
+ return _sequenceNumber;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CClassFiltersDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ClassFilters
+CClassFiltersDoc::CClassFiltersDoc() :
+ _isInitialized(false) {}
+CClassFiltersDoc::~CClassFiltersDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassFiltersDoc::initialize(
+ const std::string dialect,
+ const std::deque<std::string> classFilter) {
+ if (! _isInitialized) {
+ _dialect = dialect;
+ _classFilter = classFilter;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Dialect
+std::string CClassFiltersDoc::getDialect() const {
+ return _dialect;
+}
+
+/// Accessor for the ClassFilter
+std::deque<std::string> CClassFiltersDoc::getClassFilter() const {
+ return _classFilter;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CClassSpecifierDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ClassSpecifier
+CClassSpecifierDoc::CClassSpecifierDoc() :
+ _isInitialized(false) {}
+CClassSpecifierDoc::~CClassSpecifierDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassSpecifierDoc::initialize(
+ const SmartPtrCFullyQualifiedClassGroupDoc fullyQualifiedClass,
+ const SmartPtrCClassFiltersDoc classFilters) {
+ if (! _isInitialized) {
+ _fullyQualifiedClass = fullyQualifiedClass;
+ _classFilters = classFilters;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the FullyQualifiedClass
+SmartPtrCFullyQualifiedClassGroupDoc CClassSpecifierDoc::getFullyQualifiedClass() const {
+ return _fullyQualifiedClass;
+}
+
+/// Accessor for the ClassFilters
+SmartPtrCClassFiltersDoc CClassSpecifierDoc::getClassFilters() const {
+ return _classFilters;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type FullyQualifiedClassGroup
+CFullyQualifiedClassGroupDoc::CFullyQualifiedClassGroupDoc() :
+ _isInitialized(false) {}
+CFullyQualifiedClassGroupDoc::~CFullyQualifiedClassGroupDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CFullyQualifiedClassGroupDoc::initialize(
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion) {
+ if (! _isInitialized) {
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClassNamespace
+std::string CFullyQualifiedClassGroupDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CFullyQualifiedClassGroupDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CFullyQualifiedClassGroupDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InlineAttachmentCollection
+CInlineAttachmentCollectionDoc::CInlineAttachmentCollectionDoc() :
+ _isInitialized(false) {}
+CInlineAttachmentCollectionDoc::~CInlineAttachmentCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInlineAttachmentCollectionDoc::initialize(
+ const std::deque<SmartPtrCInlineAttachmentDoc> attachment) {
+ if (! _isInitialized) {
+ _attachment = attachment;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the InlineAttachment
+std::deque<SmartPtrCInlineAttachmentDoc> CInlineAttachmentCollectionDoc::getInlineAttachment() const {
+ return _attachment;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CInlineAttachmentDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InlineAttachment
+CInlineAttachmentDoc::CInlineAttachmentDoc() :
+ _isInitialized(false) {}
+CInlineAttachmentDoc::~CInlineAttachmentDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInlineAttachmentDoc::initialize(
+ const std::string name,
+ const std::string type,
+ const std::string value) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CInlineAttachmentDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Type
+std::string CInlineAttachmentDoc::getType() const {
+ return _type;
+}
+
+/// Accessor for the Value
+std::string CInlineAttachmentDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.h"
+
+using namespace Caf;
+
+/// Set of logging levels for different components
+CLoggingLevelCollectionDoc::CLoggingLevelCollectionDoc() :
+ _isInitialized(false) {}
+CLoggingLevelCollectionDoc::~CLoggingLevelCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CLoggingLevelCollectionDoc::initialize(
+ const std::deque<SmartPtrCLoggingLevelElemDoc> loggingLevel) {
+ if (! _isInitialized) {
+ _loggingLevel = loggingLevel;
+
+ _isInitialized = true;
+ }
+}
+
+/// Used to change the logging level for a specific component
+std::deque<SmartPtrCLoggingLevelElemDoc> CLoggingLevelCollectionDoc::getLoggingLevel() const {
+ return _loggingLevel;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CLoggingLevelElemDoc.h"
+
+using namespace Caf;
+
+/// Logging level for a component
+CLoggingLevelElemDoc::CLoggingLevelElemDoc() :
+ _component(LOGGINGCOMPONENT_NONE),
+ _level(LOGGINGLEVEL_NONE),
+ _isInitialized(false) {}
+CLoggingLevelElemDoc::~CLoggingLevelElemDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CLoggingLevelElemDoc::initialize(
+ const LOGGINGCOMPONENT_TYPE component,
+ const LOGGINGLEVEL_TYPE level) {
+ if (! _isInitialized) {
+ _component = component;
+ _level = level;
+
+ _isInitialized = true;
+ }
+}
+
+/// The logging level applies to this component
+LOGGINGCOMPONENT_TYPE CLoggingLevelElemDoc::getComponent() const {
+ return _component;
+}
+
+/// Set the logging level to this value
+LOGGINGLEVEL_TYPE CLoggingLevelElemDoc::getLevel() const {
+ return _level;
+}
+
+LOGGINGCOMPONENT_TYPE _component;
+LOGGINGLEVEL_TYPE _level;
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/COperationDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Operation
+COperationDoc::COperationDoc() :
+ _isInitialized(false) {}
+COperationDoc::~COperationDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void COperationDoc::initialize(
+ const std::string name,
+ const SmartPtrCParameterCollectionDoc parameterCollection) {
+ if (! _isInitialized) {
+ _name = name;
+ _parameterCollection = parameterCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string COperationDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the ParameterCollection
+SmartPtrCParameterCollectionDoc COperationDoc::getParameterCollection() const {
+ return _parameterCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CParameterCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ParameterCollection
+CParameterCollectionDoc::CParameterCollectionDoc() :
+ _isInitialized(false) {}
+CParameterCollectionDoc::~CParameterCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CParameterCollectionDoc::initialize(
+ const std::deque<SmartPtrCRequestParameterDoc> parameter,
+ const std::deque<SmartPtrCRequestInstanceParameterDoc> instanceParameter) {
+ if (! _isInitialized) {
+ _parameter = parameter;
+ _instanceParameter = instanceParameter;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Parameter
+std::deque<SmartPtrCRequestParameterDoc> CParameterCollectionDoc::getParameter() const {
+ return _parameter;
+}
+
+/// Accessor for the InstanceParameter
+std::deque<SmartPtrCRequestInstanceParameterDoc> CParameterCollectionDoc::getInstanceParameter() const {
+ return _instanceParameter;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CPropertyCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PropertyCollection
+CPropertyCollectionDoc::CPropertyCollectionDoc() :
+ _isInitialized(false) {}
+CPropertyCollectionDoc::~CPropertyCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPropertyCollectionDoc::initialize(
+ const std::deque<SmartPtrCPropertyDoc> property) {
+ if (! _isInitialized) {
+ _property = property;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Property
+std::deque<SmartPtrCPropertyDoc> CPropertyCollectionDoc::getProperty() const {
+ return _property;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CPropertyDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Property
+CPropertyDoc::CPropertyDoc() :
+ _type(PROPERTY_NONE),
+ _isInitialized(false) {}
+CPropertyDoc::~CPropertyDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPropertyDoc::initialize(
+ const std::string name,
+ const PROPERTY_TYPE type,
+ const std::deque<std::string> value) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CPropertyDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Type
+PROPERTY_TYPE CPropertyDoc::getType() const {
+ return _type;
+}
+
+/// Accessor for the Value
+std::deque<std::string> CPropertyDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CProtocolCollectionDoc.h"
+
+using namespace Caf;
+
+/// Set of protocol
+CProtocolCollectionDoc::CProtocolCollectionDoc() :
+ _isInitialized(false) {}
+CProtocolCollectionDoc::~CProtocolCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProtocolCollectionDoc::initialize(
+ const std::deque<SmartPtrCProtocolDoc> protocol) {
+ if (! _isInitialized) {
+ _protocol = protocol;
+
+ _isInitialized = true;
+ }
+}
+
+/// Used to change the logging level for a specific component
+std::deque<SmartPtrCProtocolDoc> CProtocolCollectionDoc::getProtocol() const {
+ return _protocol;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CProtocolDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of Protocol
+CProtocolDoc::CProtocolDoc() :
+ _sequenceNumber(0),
+ _isInitialized(false) {}
+CProtocolDoc::~CProtocolDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProtocolDoc::initialize(
+ const std::string uri,
+ const std::string name,
+ const int32 sequenceNumber) {
+ if (! _isInitialized) {
+ _name = name;
+ _uri = uri;
+ _sequenceNumber = sequenceNumber;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Uri
+std::string CProtocolDoc::getUri() const {
+ return _uri;
+}
+
+/// Accessor for the Name
+std::string CProtocolDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Value
+int32 CProtocolDoc::getSequenceNumber() const {
+ return _sequenceNumber;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CRequestConfigDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type RequestConfig
+CRequestConfigDoc::CRequestConfigDoc() :
+ _isInitialized(false) {}
+CRequestConfigDoc::~CRequestConfigDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRequestConfigDoc::initialize(
+ const std::string responseFormatType,
+ const SmartPtrCAddInsDoc requestProcessorAddIns,
+ const SmartPtrCAddInsDoc responseProcessorAddIns,
+ const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection) {
+ if (! _isInitialized) {
+ _responseFormatType = responseFormatType;
+ _requestProcessorAddIns = requestProcessorAddIns;
+ _responseProcessorAddIns = responseProcessorAddIns;
+ _loggingLevelCollection = loggingLevelCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ResponseFormatType
+std::string CRequestConfigDoc::getResponseFormatType() const {
+ return _responseFormatType;
+}
+
+/// Accessor for the RequestProcessorAddIns
+SmartPtrCAddInsDoc CRequestConfigDoc::getRequestProcessorAddIns() const {
+ return _requestProcessorAddIns;
+}
+
+/// Accessor for the ResponseProcessorAddIns
+SmartPtrCAddInsDoc CRequestConfigDoc::getResponseProcessorAddIns() const {
+ return _responseProcessorAddIns;
+}
+
+/// Accessor for the LoggingLevelCollection
+SmartPtrCLoggingLevelCollectionDoc CRequestConfigDoc::getLoggingLevelCollection() const {
+ return _loggingLevelCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CRequestHeaderDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type RequestHeader
+CRequestHeaderDoc::CRequestHeaderDoc() :
+ _isInitialized(false),
+ _sessionId(CAFCOMMON_GUID_NULL) {}
+CRequestHeaderDoc::~CRequestHeaderDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRequestHeaderDoc::initialize(
+ const SmartPtrCRequestConfigDoc requestConfig,
+ const SmartPtrCAuthnAuthzCollectionDoc authnAuthzCollection,
+ const SmartPtrCProtocolCollectionDoc protocolCollection,
+ const SmartPtrCPropertyCollectionDoc echoPropertyBag,
+ const std::string version,
+ const std::string createdDateTime,
+ const UUID sessionId) {
+ if (! _isInitialized) {
+ _requestConfig = requestConfig;
+ _authnAuthzCollection = authnAuthzCollection;
+ _protocolCollection = protocolCollection;
+ _echoPropertyBag = echoPropertyBag;
+ _version = version;
+ _createdDateTime = createdDateTime;
+ _sessionId = sessionId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the RequestConfig
+SmartPtrCRequestConfigDoc CRequestHeaderDoc::getRequestConfig() const {
+ return _requestConfig;
+}
+
+/// Accessor for the Authentication / Authorization Collection
+SmartPtrCAuthnAuthzCollectionDoc CRequestHeaderDoc::getAuthnAuthzCollection() const {
+ return _authnAuthzCollection;
+}
+
+/// Accessor for the Protocol Collection
+SmartPtrCProtocolCollectionDoc CRequestHeaderDoc::getProtocolCollection() const {
+ return _protocolCollection;
+}
+
+/// Accessor for the EchoPropertyBag
+SmartPtrCPropertyCollectionDoc CRequestHeaderDoc::getEchoPropertyBag() const {
+ return _echoPropertyBag;
+}
+
+/// Accessor for the version
+std::string CRequestHeaderDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the date/time when the request was created
+std::string CRequestHeaderDoc::getCreatedDateTime() const {
+ return _createdDateTime;
+}
+
+/// Accessor for the session ID
+UUID CRequestHeaderDoc::getSessionId() const {
+ return _sessionId;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CRequestInstanceParameterDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type RequestInstanceParameter
+CRequestInstanceParameterDoc::CRequestInstanceParameterDoc() :
+ _isInitialized(false) {}
+CRequestInstanceParameterDoc::~CRequestInstanceParameterDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRequestInstanceParameterDoc::initialize(
+ const std::string name,
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion,
+ const std::deque<std::string> value) {
+ if (! _isInitialized) {
+ _name = name;
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CRequestInstanceParameterDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the ClassNamespace
+std::string CRequestInstanceParameterDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CRequestInstanceParameterDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CRequestInstanceParameterDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+/// Accessor for the Value
+std::deque<std::string> CRequestInstanceParameterDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CRequestParameterDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type RequestParameter
+CRequestParameterDoc::CRequestParameterDoc() :
+ _type(PARAMETER_NONE),
+ _isInitialized(false) {}
+CRequestParameterDoc::~CRequestParameterDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRequestParameterDoc::initialize(
+ const std::string name,
+ const PARAMETER_TYPE type,
+ const std::deque<std::string> value) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CRequestParameterDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Type
+PARAMETER_TYPE CRequestParameterDoc::getType() const {
+ return _type;
+}
+
+/// Accessor for the Value
+std::deque<std::string> CRequestParameterDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafCoreTypesDoc/CStatisticsDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Statistics
+CStatisticsDoc::CStatisticsDoc() :
+ _providerJobNum(0),
+ _providerJobTotal(0),
+ _providerJobDurationSecs(0),
+ _pmeNum(0),
+ _pmeTotal(0),
+ _pmeDurationSecs(0),
+ _isInitialized(false) {}
+CStatisticsDoc::~CStatisticsDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CStatisticsDoc::initialize(
+ const SmartPtrCPropertyCollectionDoc propertyCollection,
+ const int32 providerJobNum,
+ const int32 providerJobTotal,
+ const int32 providerJobDurationSecs,
+ const int32 pmeNum,
+ const int32 pmeTotal,
+ const int32 pmeDurationSecs) {
+ if (! _isInitialized) {
+ _propertyCollection = propertyCollection;
+ _providerJobNum = providerJobNum;
+ _providerJobTotal = providerJobTotal;
+ _providerJobDurationSecs = providerJobDurationSecs;
+ _pmeNum = pmeNum;
+ _pmeTotal = pmeTotal;
+ _pmeDurationSecs = pmeDurationSecs;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PropertyCollection
+SmartPtrCPropertyCollectionDoc CStatisticsDoc::getPropertyCollection() const {
+ return _propertyCollection;
+}
+
+/// Accessor for the ProviderJobNum
+int32 CStatisticsDoc::getProviderJobNum() const {
+ return _providerJobNum;
+}
+
+/// Accessor for the ProviderJobTotal
+int32 CStatisticsDoc::getProviderJobTotal() const {
+ return _providerJobTotal;
+}
+
+/// Accessor for the ProviderJobDurationSecs
+int32 CStatisticsDoc::getProviderJobDurationSecs() const {
+ return _providerJobDurationSecs;
+}
+
+/// Accessor for the PmeNum
+int32 CStatisticsDoc::getPmeNum() const {
+ return _pmeNum;
+}
+
+/// Accessor for the PmeTotal
+int32 CStatisticsDoc::getPmeTotal() const {
+ return _pmeTotal;
+}
+
+/// Accessor for the PmeDurationSecs
+int32 CStatisticsDoc::getPmeDurationSecs() const {
+ return _pmeDurationSecs;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define CAFCORETYPESDOC_LINKAGE __declspec(dllexport)
+#else
+ #define CAFCORETYPESDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/CafCoreTypesDoc/CafCoreTypesDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CFullPackageElemDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type FullPackageElem
+CFullPackageElemDoc::CFullPackageElemDoc() :
+ _index(0),
+ _isInitialized(false) {}
+CFullPackageElemDoc::~CFullPackageElemDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CFullPackageElemDoc::initialize(
+ const int32 index,
+ const std::string packageNamespace,
+ const std::string packageName,
+ const std::string packageVersion,
+ const SmartPtrCPackageDefnDoc installPackage,
+ const SmartPtrCPackageDefnDoc uninstallPackage) {
+ if (! _isInitialized) {
+ _index = index;
+ _packageNamespace = packageNamespace;
+ _packageName = packageName;
+ _packageVersion = packageVersion;
+ _installPackage = installPackage;
+ _uninstallPackage = uninstallPackage;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Index
+int32 CFullPackageElemDoc::getIndex() const {
+ return _index;
+}
+
+/// Accessor for the PackageNamespace
+std::string CFullPackageElemDoc::getPackageNamespace() const {
+ return _packageNamespace;
+}
+
+/// Accessor for the PackageName
+std::string CFullPackageElemDoc::getPackageName() const {
+ return _packageName;
+}
+
+/// Accessor for the PackageVersion
+std::string CFullPackageElemDoc::getPackageVersion() const {
+ return _packageVersion;
+}
+
+/// Accessor for the InstallPackage
+SmartPtrCPackageDefnDoc CFullPackageElemDoc::getInstallPackage() const {
+ return _installPackage;
+}
+
+/// Accessor for the UninstallPackage
+SmartPtrCPackageDefnDoc CFullPackageElemDoc::getUninstallPackage() const {
+ return _uninstallPackage;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CGetInventoryJobDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type GetInventoryJob
+CGetInventoryJobDoc::CGetInventoryJobDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CGetInventoryJobDoc::~CGetInventoryJobDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CGetInventoryJobDoc::initialize(
+ const UUID jobId) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CGetInventoryJobDoc::getJobId() const {
+ return _jobId;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CInstallBatchDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstallBatch
+CInstallBatchDoc::CInstallBatchDoc() :
+ _isInitialized(false) {}
+CInstallBatchDoc::~CInstallBatchDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstallBatchDoc::initialize(
+ const SmartPtrCGetInventoryJobDoc getInventory,
+ const SmartPtrCInstallProviderJobDoc installProvider,
+ const SmartPtrCUninstallProviderJobDoc uninstallProvider) {
+ if (! _isInitialized) {
+ _getInventory = getInventory;
+ _installProvider = installProvider;
+ _uninstallProvider = uninstallProvider;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the GetInventory
+SmartPtrCGetInventoryJobDoc CInstallBatchDoc::getGetInventory() const {
+ return _getInventory;
+}
+
+/// Accessor for the InstallProvider
+SmartPtrCInstallProviderJobDoc CInstallBatchDoc::getInstallProvider() const {
+ return _installProvider;
+}
+
+/// Accessor for the UninstallProvider
+SmartPtrCUninstallProviderJobDoc CInstallBatchDoc::getUninstallProvider() const {
+ return _uninstallProvider;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CInstallPackageSpecDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstallPackageSpec
+CInstallPackageSpecDoc::CInstallPackageSpecDoc() :
+ _isInitialized(false) {}
+CInstallPackageSpecDoc::~CInstallPackageSpecDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstallPackageSpecDoc::initialize(
+ const std::string packageNamespace,
+ const std::string packageName,
+ const std::string packageVersion,
+ const std::string startupAttachmentName,
+ const std::string packageAttachmentName,
+ const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection,
+ const std::string arguments) {
+ if (! _isInitialized) {
+ _packageNamespace = packageNamespace;
+ _packageName = packageName;
+ _packageVersion = packageVersion;
+ _startupAttachmentName = startupAttachmentName;
+ _packageAttachmentName = packageAttachmentName;
+ _attachmentNameCollection = attachmentNameCollection;
+ _attachmentCollection = attachmentCollection;
+ _arguments = arguments;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PackageNamespace
+std::string CInstallPackageSpecDoc::getPackageNamespace() const {
+ return _packageNamespace;
+}
+
+/// Accessor for the PackageName
+std::string CInstallPackageSpecDoc::getPackageName() const {
+ return _packageName;
+}
+
+/// Accessor for the PackageVersion
+std::string CInstallPackageSpecDoc::getPackageVersion() const {
+ return _packageVersion;
+}
+
+/// Accessor for the StartupAttachmentName
+std::string CInstallPackageSpecDoc::getStartupAttachmentName() const {
+ return _startupAttachmentName;
+}
+
+/// Accessor for the PackageAttachmentName
+std::string CInstallPackageSpecDoc::getPackageAttachmentName() const {
+ return _packageAttachmentName;
+}
+
+/// Accessor for the AttachmentNameCollection
+SmartPtrCAttachmentNameCollectionDoc CInstallPackageSpecDoc::getSupportingAttachmentNameCollection() const {
+ return _attachmentNameCollection;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CInstallPackageSpecDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+/// Accessor for the Arguments
+std::string CInstallPackageSpecDoc::getArguments() const {
+ return _arguments;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CInstallProviderJobDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstallProviderJob
+CInstallProviderJobDoc::CInstallProviderJobDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _jobId(CAFCOMMON_GUID_NULL),
+ _packageOSType(PACKAGE_OS_NONE),
+ _isInitialized(false) {}
+CInstallProviderJobDoc::~CInstallProviderJobDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstallProviderJobDoc::initialize(
+ const UUID clientId,
+ const UUID jobId,
+ const std::string providerNamespace,
+ const std::string providerName,
+ const std::string providerVersion,
+ const PACKAGE_OS_TYPE packageOSType,
+ const std::deque<SmartPtrCFullPackageElemDoc> packageCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _jobId = jobId;
+ _providerNamespace = providerNamespace;
+ _providerName = providerName;
+ _providerVersion = providerVersion;
+ _packageOSType = packageOSType;
+ _packageCollection = packageCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CInstallProviderJobDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the JobId
+UUID CInstallProviderJobDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the ProviderNamespace
+std::string CInstallProviderJobDoc::getProviderNamespace() const {
+ return _providerNamespace;
+}
+
+/// Accessor for the ProviderName
+std::string CInstallProviderJobDoc::getProviderName() const {
+ return _providerName;
+}
+
+/// Accessor for the ProviderVersion
+std::string CInstallProviderJobDoc::getProviderVersion() const {
+ return _providerVersion;
+}
+
+/// Accessor for the PackageOSType
+PACKAGE_OS_TYPE CInstallProviderJobDoc::getPackageOSType() const {
+ return _packageOSType;
+}
+
+/// Accessor for the PackageVal
+std::deque<SmartPtrCFullPackageElemDoc> CInstallProviderJobDoc::getPackageCollection() const {
+ return _packageCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CInstallProviderSpecDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstallProviderSpec
+CInstallProviderSpecDoc::CInstallProviderSpecDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CInstallProviderSpecDoc::~CInstallProviderSpecDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstallProviderSpecDoc::initialize(
+ const UUID clientId,
+ const std::string providerNamespace,
+ const std::string providerName,
+ const std::string providerVersion,
+ const std::deque<SmartPtrCMinPackageElemDoc> packageCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _providerNamespace = providerNamespace;
+ _providerName = providerName;
+ _providerVersion = providerVersion;
+ _packageCollection = packageCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CInstallProviderSpecDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the ProviderNamespace
+std::string CInstallProviderSpecDoc::getProviderNamespace() const {
+ return _providerNamespace;
+}
+
+/// Accessor for the ProviderName
+std::string CInstallProviderSpecDoc::getProviderName() const {
+ return _providerName;
+}
+
+/// Accessor for the ProviderVersion
+std::string CInstallProviderSpecDoc::getProviderVersion() const {
+ return _providerVersion;
+}
+
+/// Accessor for the PackageVal
+std::deque<SmartPtrCMinPackageElemDoc> CInstallProviderSpecDoc::getPackageCollection() const {
+ return _packageCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CInstallRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstallRequest
+CInstallRequestDoc::CInstallRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CInstallRequestDoc::~CInstallRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstallRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCRequestHeaderDoc requestHeader,
+ const SmartPtrCInstallBatchDoc batch,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _requestHeader = requestHeader;
+ _batch = batch;
+ _attachmentCollection = attachmentCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CInstallRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CInstallRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CInstallRequestDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCRequestHeaderDoc CInstallRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+/// Accessor for the Batch
+SmartPtrCInstallBatchDoc CInstallRequestDoc::getBatch() const {
+ return _batch;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CInstallRequestDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CMinPackageElemDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MinPackageElem
+CMinPackageElemDoc::CMinPackageElemDoc() :
+ _index(0),
+ _isInitialized(false) {}
+CMinPackageElemDoc::~CMinPackageElemDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMinPackageElemDoc::initialize(
+ const int32 index,
+ const std::string packageNamespace,
+ const std::string packageName,
+ const std::string packageVersion) {
+ if (! _isInitialized) {
+ _index = index;
+ _packageNamespace = packageNamespace;
+ _packageName = packageName;
+ _packageVersion = packageVersion;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Index
+int32 CMinPackageElemDoc::getIndex() const {
+ return _index;
+}
+
+/// Accessor for the PackageNamespace
+std::string CMinPackageElemDoc::getPackageNamespace() const {
+ return _packageNamespace;
+}
+
+/// Accessor for the PackageName
+std::string CMinPackageElemDoc::getPackageName() const {
+ return _packageName;
+}
+
+/// Accessor for the PackageVersion
+std::string CMinPackageElemDoc::getPackageVersion() const {
+ return _packageVersion;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CPackageDefnDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PackageDefn
+CPackageDefnDoc::CPackageDefnDoc() :
+ _isInitialized(false) {}
+CPackageDefnDoc::~CPackageDefnDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPackageDefnDoc::initialize(
+ const std::string startupAttachmentName,
+ const std::string packageAttachmentName,
+ const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection,
+ const std::string arguments) {
+ if (! _isInitialized) {
+ _startupAttachmentName = startupAttachmentName;
+ _packageAttachmentName = packageAttachmentName;
+ _attachmentNameCollection = attachmentNameCollection;
+ _arguments = arguments;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the StartupAttachmentName
+std::string CPackageDefnDoc::getStartupAttachmentName() const {
+ return _startupAttachmentName;
+}
+
+/// Accessor for the PackageAttachmentName
+std::string CPackageDefnDoc::getPackageAttachmentName() const {
+ return _packageAttachmentName;
+}
+
+/// Accessor for the AttachmentNameCollection
+SmartPtrCAttachmentNameCollectionDoc CPackageDefnDoc::getSupportingAttachmentNameCollection() const {
+ return _attachmentNameCollection;
+}
+
+/// Accessor for the Arguments
+std::string CPackageDefnDoc::getArguments() const {
+ return _arguments;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/CafInstallRequestDoc/CUninstallProviderJobDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type UninstallProviderJob
+CUninstallProviderJobDoc::CUninstallProviderJobDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _jobId(CAFCOMMON_GUID_NULL),
+ _packageOSType(PACKAGE_OS_NONE),
+ _isInitialized(false) {}
+CUninstallProviderJobDoc::~CUninstallProviderJobDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CUninstallProviderJobDoc::initialize(
+ const UUID clientId,
+ const UUID jobId,
+ const std::string providerNamespace,
+ const std::string providerName,
+ const std::string providerVersion,
+ const PACKAGE_OS_TYPE packageOSType) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _jobId = jobId;
+ _providerNamespace = providerNamespace;
+ _providerName = providerName;
+ _providerVersion = providerVersion;
+ _packageOSType = packageOSType;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CUninstallProviderJobDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the JobId
+UUID CUninstallProviderJobDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the ProviderNamespace
+std::string CUninstallProviderJobDoc::getProviderNamespace() const {
+ return _providerNamespace;
+}
+
+/// Accessor for the ProviderName
+std::string CUninstallProviderJobDoc::getProviderName() const {
+ return _providerName;
+}
+
+/// Accessor for the ProviderVersion
+std::string CUninstallProviderJobDoc::getProviderVersion() const {
+ return _providerVersion;
+}
+
+/// Accessor for the PackageOSType
+PACKAGE_OS_TYPE CUninstallProviderJobDoc::getPackageOSType() const {
+ return _packageOSType;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define CAFINSTALLREQUESTDOC_LINKAGE __declspec(dllexport)
+#else
+ #define CAFINSTALLREQUESTDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/CafInstallRequestDoc/CafInstallRequestDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagRequestDoc/CDiagRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagRequest
+CDiagRequestDoc::CDiagRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CDiagRequestDoc::~CDiagRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCRequestHeaderDoc requestHeader,
+ const SmartPtrCDiagBatchDoc batch) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _requestHeader = requestHeader;
+ _batch = batch;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CDiagRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CDiagRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CDiagRequestDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCRequestHeaderDoc CDiagRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+/// Accessor for the Batch
+SmartPtrCDiagBatchDoc CDiagRequestDoc::getBatch() const {
+ return _batch;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define DIAGREQUESTDOC_LINKAGE __declspec(dllexport)
+#else
+ #define DIAGREQUESTDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/DiagRequestDoc/DiagRequestDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagBatchDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagBatch
+CDiagBatchDoc::CDiagBatchDoc() :
+ _isInitialized(false) {}
+CDiagBatchDoc::~CDiagBatchDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagBatchDoc::initialize(
+ const SmartPtrCDiagCollectInstancesDoc collectInstances,
+ const SmartPtrCDiagSetValueCollectionDoc setValueCollection,
+ const SmartPtrCDiagDeleteValueCollectionDoc deleteValueCollection) {
+ if (! _isInitialized) {
+ _collectInstances = collectInstances;
+ _setValueCollection = setValueCollection;
+ _deleteValueCollection = deleteValueCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the CollectInstances
+SmartPtrCDiagCollectInstancesDoc CDiagBatchDoc::getCollectInstances() const {
+ return _collectInstances;
+}
+
+/// Accessor for the SetValueCollection
+SmartPtrCDiagSetValueCollectionDoc CDiagBatchDoc::getSetValueCollection() const {
+ return _setValueCollection;
+}
+
+/// Accessor for the DeleteValueCollection
+SmartPtrCDiagDeleteValueCollectionDoc CDiagBatchDoc::getDeleteValueCollection() const {
+ return _deleteValueCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagCollectInstancesDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagCollectInstances
+CDiagCollectInstancesDoc::CDiagCollectInstancesDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CDiagCollectInstancesDoc::~CDiagCollectInstancesDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagCollectInstancesDoc::initialize(
+ const UUID jobId) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CDiagCollectInstancesDoc::getJobId() const {
+ return _jobId;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagDeleteValueCollection
+CDiagDeleteValueCollectionDoc::CDiagDeleteValueCollectionDoc() :
+ _isInitialized(false) {}
+CDiagDeleteValueCollectionDoc::~CDiagDeleteValueCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagDeleteValueCollectionDoc::initialize(
+ const std::deque<SmartPtrCDiagDeleteValueDoc> deleteValueCollection) {
+ if (! _isInitialized) {
+ _deleteValueCollection = deleteValueCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the DeleteValue
+std::deque<SmartPtrCDiagDeleteValueDoc> CDiagDeleteValueCollectionDoc::getDeleteValueCollection() const {
+ return _deleteValueCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagDeleteValueDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagDeleteValue
+CDiagDeleteValueDoc::CDiagDeleteValueDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CDiagDeleteValueDoc::~CDiagDeleteValueDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagDeleteValueDoc::initialize(
+ const UUID jobId,
+ const std::string fileAlias,
+ const std::string valueName) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+ _fileAlias = fileAlias;
+ _valueName = valueName;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CDiagDeleteValueDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the FileAlias
+std::string CDiagDeleteValueDoc::getFileAlias() const {
+ return _fileAlias;
+}
+
+/// Accessor for the ValueName
+std::string CDiagDeleteValueDoc::getValueName() const {
+ return _valueName;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagSetValueCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagSetValueCollection
+CDiagSetValueCollectionDoc::CDiagSetValueCollectionDoc() :
+ _isInitialized(false) {}
+CDiagSetValueCollectionDoc::~CDiagSetValueCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagSetValueCollectionDoc::initialize(
+ const std::deque<SmartPtrCDiagSetValueDoc> setValueCollection) {
+ if (! _isInitialized) {
+ _setValueCollection = setValueCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the SetValue
+std::deque<SmartPtrCDiagSetValueDoc> CDiagSetValueCollectionDoc::getSetValueCollection() const {
+ return _setValueCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/DiagTypesDoc/CDiagSetValueDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DiagSetValue
+CDiagSetValueDoc::CDiagSetValueDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CDiagSetValueDoc::~CDiagSetValueDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDiagSetValueDoc::initialize(
+ const UUID jobId,
+ const std::string fileAlias,
+ const SmartPtrCPropertyDoc value) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+ _fileAlias = fileAlias;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CDiagSetValueDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the FileAlias
+std::string CDiagSetValueDoc::getFileAlias() const {
+ return _fileAlias;
+}
+
+/// Accessor for the Value
+SmartPtrCPropertyDoc CDiagSetValueDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define DIAGTYPESDOC_LINKAGE __declspec(dllexport)
+#else
+ #define DIAGTYPESDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/DiagTypesDoc/DiagTypesDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtRequestDoc/CMgmtRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtRequest
+CMgmtRequestDoc::CMgmtRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CMgmtRequestDoc::~CMgmtRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCRequestHeaderDoc requestHeader,
+ const SmartPtrCMgmtBatchDoc batch,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _requestHeader = requestHeader;
+ _batch = batch;
+ _attachmentCollection = attachmentCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CMgmtRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CMgmtRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CMgmtRequestDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCRequestHeaderDoc CMgmtRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+/// Accessor for the Batch
+SmartPtrCMgmtBatchDoc CMgmtRequestDoc::getBatch() const {
+ return _batch;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CMgmtRequestDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define MGMTREQUESTDOC_LINKAGE __declspec(dllexport)
+#else
+ #define MGMTREQUESTDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/MgmtRequestDoc/MgmtRequestDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtBatchDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtBatch
+CMgmtBatchDoc::CMgmtBatchDoc() :
+ _isInitialized(false) {}
+CMgmtBatchDoc::~CMgmtBatchDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtBatchDoc::initialize(
+ const SmartPtrCMgmtCollectSchemaDoc collectSchema,
+ const SmartPtrCMgmtCollectInstancesCollectionDoc collectInstancesCollection,
+ const SmartPtrCMgmtInvokeOperationCollectionDoc invokeOperationCollection) {
+ if (! _isInitialized) {
+ _collectSchema = collectSchema;
+ _collectInstancesCollection = collectInstancesCollection;
+ _invokeOperationCollection = invokeOperationCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the CollectSchema
+SmartPtrCMgmtCollectSchemaDoc CMgmtBatchDoc::getCollectSchema() const {
+ return _collectSchema;
+}
+
+/// Accessor for the CollectInstancesCollection
+SmartPtrCMgmtCollectInstancesCollectionDoc CMgmtBatchDoc::getCollectInstancesCollection() const {
+ return _collectInstancesCollection;
+}
+
+/// Accessor for the InvokeOperationCollection
+SmartPtrCMgmtInvokeOperationCollectionDoc CMgmtBatchDoc::getInvokeOperationCollection() const {
+ return _invokeOperationCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtCollectInstancesCollection
+CMgmtCollectInstancesCollectionDoc::CMgmtCollectInstancesCollectionDoc() :
+ _isInitialized(false) {}
+CMgmtCollectInstancesCollectionDoc::~CMgmtCollectInstancesCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtCollectInstancesCollectionDoc::initialize(
+ const std::deque<SmartPtrCMgmtCollectInstancesDoc> collectInstancesCollection) {
+ if (! _isInitialized) {
+ _collectInstancesCollection = collectInstancesCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the CollectInstances
+std::deque<SmartPtrCMgmtCollectInstancesDoc> CMgmtCollectInstancesCollectionDoc::getCollectInstancesCollection() const {
+ return _collectInstancesCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtCollectInstancesDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtCollectInstances
+CMgmtCollectInstancesDoc::CMgmtCollectInstancesDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CMgmtCollectInstancesDoc::~CMgmtCollectInstancesDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtCollectInstancesDoc::initialize(
+ const UUID jobId,
+ const SmartPtrCClassSpecifierDoc classSpecifier,
+ const SmartPtrCParameterCollectionDoc parameterCollection) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+ _classSpecifier = classSpecifier;
+ _parameterCollection = parameterCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CMgmtCollectInstancesDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the ClassSpecifier
+SmartPtrCClassSpecifierDoc CMgmtCollectInstancesDoc::getClassSpecifier() const {
+ return _classSpecifier;
+}
+
+/// Accessor for the ParameterCollection
+SmartPtrCParameterCollectionDoc CMgmtCollectInstancesDoc::getParameterCollection() const {
+ return _parameterCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtCollectSchemaDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtCollectSchema
+CMgmtCollectSchemaDoc::CMgmtCollectSchemaDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CMgmtCollectSchemaDoc::~CMgmtCollectSchemaDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtCollectSchemaDoc::initialize(
+ const UUID jobId) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CMgmtCollectSchemaDoc::getJobId() const {
+ return _jobId;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtInvokeOperationCollection
+CMgmtInvokeOperationCollectionDoc::CMgmtInvokeOperationCollectionDoc() :
+ _isInitialized(false) {}
+CMgmtInvokeOperationCollectionDoc::~CMgmtInvokeOperationCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtInvokeOperationCollectionDoc::initialize(
+ const std::deque<SmartPtrCMgmtInvokeOperationDoc> invokeOperationCollection) {
+ if (! _isInitialized) {
+ _invokeOperationCollection = invokeOperationCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the InvokeOperation
+std::deque<SmartPtrCMgmtInvokeOperationDoc> CMgmtInvokeOperationCollectionDoc::getInvokeOperationCollection() const {
+ return _invokeOperationCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MgmtTypesDoc/CMgmtInvokeOperationDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MgmtInvokeOperation
+CMgmtInvokeOperationDoc::CMgmtInvokeOperationDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CMgmtInvokeOperationDoc::~CMgmtInvokeOperationDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMgmtInvokeOperationDoc::initialize(
+ const UUID jobId,
+ const SmartPtrCClassSpecifierDoc classSpecifier,
+ const SmartPtrCOperationDoc operation) {
+ if (! _isInitialized) {
+ _jobId = jobId;
+ _classSpecifier = classSpecifier;
+ _operation = operation;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the JobId
+UUID CMgmtInvokeOperationDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the ClassSpecifier
+SmartPtrCClassSpecifierDoc CMgmtInvokeOperationDoc::getClassSpecifier() const {
+ return _classSpecifier;
+}
+
+/// Accessor for the Operation
+SmartPtrCOperationDoc CMgmtInvokeOperationDoc::getOperation() const {
+ return _operation;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define MGMTTYPESDOC_LINKAGE __declspec(dllexport)
+#else
+ #define MGMTTYPESDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/MgmtTypesDoc/MgmtTypesDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MultiPmeMgmtBatchCollection
+CMultiPmeMgmtBatchCollectionDoc::CMultiPmeMgmtBatchCollectionDoc() :
+ _isInitialized(false) {}
+CMultiPmeMgmtBatchCollectionDoc::~CMultiPmeMgmtBatchCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMultiPmeMgmtBatchCollectionDoc::initialize(
+ const std::deque<SmartPtrCMultiPmeMgmtBatchDoc> multiPmeBatch) {
+ if (! _isInitialized) {
+ _multiPmeBatch = multiPmeBatch;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the MultiPmeBatch
+std::deque<SmartPtrCMultiPmeMgmtBatchDoc> CMultiPmeMgmtBatchCollectionDoc::getMultiPmeBatch() const {
+ return _multiPmeBatch;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MultiPmeMgmtBatch
+CMultiPmeMgmtBatchDoc::CMultiPmeMgmtBatchDoc() :
+ _isInitialized(false) {}
+CMultiPmeMgmtBatchDoc::~CMultiPmeMgmtBatchDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMultiPmeMgmtBatchDoc::initialize(
+ const SmartPtrCPmeIdCollectionDoc pmeIdCollection,
+ const SmartPtrCMgmtBatchDoc batch) {
+ if (! _isInitialized) {
+ _pmeIdCollection = pmeIdCollection;
+ _batch = batch;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PmeIdCollection
+SmartPtrCPmeIdCollectionDoc CMultiPmeMgmtBatchDoc::getPmeIdCollection() const {
+ return _pmeIdCollection;
+}
+
+/// Accessor for the Batch
+SmartPtrCMgmtBatchDoc CMultiPmeMgmtBatchDoc::getBatch() const {
+ return _batch;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type MultiPmeMgmtRequest
+CMultiPmeMgmtRequestDoc::CMultiPmeMgmtRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CMultiPmeMgmtRequestDoc::~CMultiPmeMgmtRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMultiPmeMgmtRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const SmartPtrCRequestHeaderDoc requestHeader,
+ const SmartPtrCMultiPmeMgmtBatchCollectionDoc multiPmeBatchCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _requestHeader = requestHeader;
+ _multiPmeBatchCollection = multiPmeBatchCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CMultiPmeMgmtRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CMultiPmeMgmtRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCRequestHeaderDoc CMultiPmeMgmtRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+/// Accessor for the MultiPmeBatchCollection
+SmartPtrCMultiPmeMgmtBatchCollectionDoc CMultiPmeMgmtRequestDoc::getMultiPmeBatchCollection() const {
+ return _multiPmeBatchCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PmeIdCollection
+CPmeIdCollectionDoc::CPmeIdCollectionDoc() :
+ _isInitialized(false) {}
+CPmeIdCollectionDoc::~CPmeIdCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPmeIdCollectionDoc::initialize(
+ const std::deque<std::string> pmeIdCollection) {
+ if (! _isInitialized) {
+ _pmeIdCollection = pmeIdCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PmeId
+std::deque<std::string> CPmeIdCollectionDoc::getPmeIdCollection() const {
+ return _pmeIdCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define MULTIPMEMGMTREQUESTDOC_LINKAGE __declspec(dllexport)
+#else
+ #define MULTIPMEMGMTREQUESTDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: July 3, 2015
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PayloadEnvelope
+CPayloadEnvelopeDoc::CPayloadEnvelopeDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CPayloadEnvelopeDoc::~CPayloadEnvelopeDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPayloadEnvelopeDoc::initialize(
+ const UUID& clientId,
+ const UUID& requestId,
+ const std::string& pmeId,
+ const std::string& payloadType,
+ const std::string& payloadVersion,
+ const SmartPtrCAttachmentCollectionDoc& attachmentCollection,
+ const SmartPtrCProtocolCollectionDoc& protocolCollection,
+ const SmartPtrCPropertyCollectionDoc& headerCollection,
+ const std::string version) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _payloadType = payloadType;
+ _payloadVersion = payloadVersion;
+ _attachmentCollection = attachmentCollection;
+ _protocolCollection = protocolCollection;
+ _headerCollection = headerCollection;
+ _version = version;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CPayloadEnvelopeDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CPayloadEnvelopeDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CPayloadEnvelopeDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the PayloadType
+std::string CPayloadEnvelopeDoc::getPayloadType() const {
+ return _payloadType;
+}
+
+/// Accessor for the PayloadVersion
+std::string CPayloadEnvelopeDoc::getPayloadVersion() const {
+ return _payloadVersion;
+}
+
+/// Accessor for the Protocol Collection
+SmartPtrCProtocolCollectionDoc CPayloadEnvelopeDoc::getProtocolCollection() const {
+ return _protocolCollection;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CPayloadEnvelopeDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+/// Accessor for the Headers
+SmartPtrCPropertyCollectionDoc CPayloadEnvelopeDoc::getHeaderCollection() const {
+ return _headerCollection;
+}
+
+/// Accessor for the version
+std::string CPayloadEnvelopeDoc::getVersion() const {
+ return _version;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define PAYLOADENVELOPEDOC_LINKAGE __declspec(dllexport)
+#else
+ #define PAYLOADENVELOPEDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CCertCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CertCollection
+CCertCollectionDoc::CCertCollectionDoc() :
+ _isInitialized(false) {}
+CCertCollectionDoc::~CCertCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCertCollectionDoc::initialize(
+ const std::deque<std::string> certCollection) {
+ if (! _isInitialized) {
+ _certCollection = certCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Cert
+std::deque<std::string> CCertCollectionDoc::getCert() const {
+ return _certCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CCertPathCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CertPathCollection
+CCertPathCollectionDoc::CCertPathCollectionDoc() :
+ _isInitialized(false) {}
+CCertPathCollectionDoc::~CCertPathCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCertPathCollectionDoc::initialize(
+ const std::deque<std::string> certPathCollection) {
+ if (! _isInitialized) {
+ _certPathCollection = certPathCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Cert
+std::deque<std::string> CCertPathCollectionDoc::getCertPath() const {
+ return _certPathCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: Nov 16, 2015
+ *
+ * Copyright (c) 2015 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CLocalSecurityDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CLocalSecurityDoc
+CLocalSecurityDoc::CLocalSecurityDoc() :
+ _isInitialized(false) {}
+CLocalSecurityDoc::~CLocalSecurityDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CLocalSecurityDoc::initialize(
+ const std::string& localId,
+ const std::string& privateKey,
+ const std::string& cert,
+ const std::string& privateKeyPath,
+ const std::string& certPath) {
+ if (! _isInitialized) {
+ _localId = localId;
+ _privateKey = privateKey;
+ _cert = cert;
+
+ _privateKeyPath = privateKeyPath;
+ _certPath = certPath;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the LocalId
+std::string CLocalSecurityDoc::getLocalId() const {
+ return _localId;
+}
+
+/// Accessor for the PrivateKey
+std::string CLocalSecurityDoc::getPrivateKey() const {
+ return _privateKey;
+}
+
+/// Accessor for the Cert
+std::string CLocalSecurityDoc::getCert() const {
+ return _cert;
+}
+
+/// Accessor for the PrivateKeyPath
+std::string CLocalSecurityDoc::getPrivateKeyPath() const {
+ return _privateKeyPath;
+}
+
+/// Accessor for the CertPath
+std::string CLocalSecurityDoc::getCertPath() const {
+ return _certPath;
+}
+
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: Nov 16, 2015
+ *
+ * Copyright (c) 2015 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CPersistenceDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PersistenceEnvelope
+CPersistenceDoc::CPersistenceDoc() :
+ _isInitialized(false) {}
+CPersistenceDoc::~CPersistenceDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPersistenceDoc::initialize(
+ const SmartPtrCLocalSecurityDoc& localSecurity,
+ const SmartPtrCRemoteSecurityCollectionDoc& remoteSecurityCollection,
+ const SmartPtrCPersistenceProtocolCollectionDoc& persistenceProtocolCollection,
+ const std::string version) {
+ if (! _isInitialized) {
+ _localSecurity = localSecurity;
+ _remoteSecurityCollection = remoteSecurityCollection;
+ _persistenceProtocolCollection = persistenceProtocolCollection;
+ _version = version;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the LocalSecurity
+SmartPtrCLocalSecurityDoc CPersistenceDoc::getLocalSecurity() const {
+ return _localSecurity;
+}
+
+/// Accessor for the Protocol Collection
+SmartPtrCRemoteSecurityCollectionDoc CPersistenceDoc::getRemoteSecurityCollection() const {
+ return _remoteSecurityCollection;
+}
+
+/// Accessor for the PersistenceProtocol
+SmartPtrCPersistenceProtocolCollectionDoc CPersistenceDoc::getPersistenceProtocolCollection() const {
+ return _persistenceProtocolCollection;
+}
+
+/// Accessor for the version
+std::string CPersistenceDoc::getVersion() const {
+ return _version;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CPersistenceProtocolCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type PersistenceProtocolCollection
+CPersistenceProtocolCollectionDoc::CPersistenceProtocolCollectionDoc() :
+ _isInitialized(false) {}
+CPersistenceProtocolCollectionDoc::~CPersistenceProtocolCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPersistenceProtocolCollectionDoc::initialize(
+ const std::deque<SmartPtrCPersistenceProtocolDoc> persistenceProtocol) {
+ if (! _isInitialized) {
+ _persistenceProtocol = persistenceProtocol;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PersistenceProtocol
+std::deque<SmartPtrCPersistenceProtocolDoc> CPersistenceProtocolCollectionDoc::getPersistenceProtocol() const {
+ return _persistenceProtocol;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: Nov 16, 2015
+ *
+ * Copyright (c) 2015 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CPersistenceProtocolDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CPersistenceProtocolDoc
+CPersistenceProtocolDoc::CPersistenceProtocolDoc() :
+ _isInitialized(false) {}
+CPersistenceProtocolDoc::~CPersistenceProtocolDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPersistenceProtocolDoc::initialize(
+ const std::string& protocolName,
+ const std::string& uri,
+ const std::string& uriAmqp,
+ const std::string& uriTunnel,
+ const std::string& tlsCert,
+ const std::string& tlsProtocol,
+ const Cdeqstr& tlsCipherCollection,
+ const SmartPtrCCertCollectionDoc& tlsCertCollection,
+ const std::string& uriAmqpPath,
+ const std::string& uriTunnelPath,
+ const std::string& tlsCertPath,
+ const SmartPtrCCertPathCollectionDoc& tlsCertPathCollection) {
+ if (! _isInitialized) {
+ _protocolName = protocolName;
+ _uri = uri;
+ _uriAmqp = uriAmqp;
+ _uriTunnel = uriTunnel;
+ _tlsCert = tlsCert;
+ _tlsProtocol = tlsProtocol;
+ _tlsCipherCollection = tlsCipherCollection;
+ _tlsCertCollection = tlsCertCollection;
+
+ _uriAmqpPath = uriAmqpPath;
+ _uriTunnelPath = uriTunnelPath;
+ _tlsCertPath = tlsCertPath;
+ _tlsCertPathCollection = tlsCertPathCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ProtocolName
+std::string CPersistenceProtocolDoc::getProtocolName() const {
+ return _protocolName;
+}
+
+/// Accessor for the Uri
+std::string CPersistenceProtocolDoc::getUri() const {
+ return _uri;
+}
+
+/// Accessor for the UriAmqp
+std::string CPersistenceProtocolDoc::getUriAmqp() const {
+ return _uriAmqp;
+}
+
+/// Accessor for the UriTunnel
+std::string CPersistenceProtocolDoc::getUriTunnel() const {
+ return _uriTunnel;
+}
+
+/// Accessor for the TlsCert
+std::string CPersistenceProtocolDoc::getTlsCert() const {
+ return _tlsCert;
+}
+
+/// Accessor for the TlsProtocol
+std::string CPersistenceProtocolDoc::getTlsProtocol() const {
+ return _tlsProtocol;
+}
+
+/// Accessor for the tlsCipherCollection
+Cdeqstr CPersistenceProtocolDoc::getTlsCipherCollection() const {
+ return _tlsCipherCollection;
+}
+
+/// Accessor for the TlsCertCollection
+SmartPtrCCertCollectionDoc CPersistenceProtocolDoc::getTlsCertCollection() const {
+ return _tlsCertCollection;
+}
+
+/// Accessor for the UriAmqpPath
+std::string CPersistenceProtocolDoc::getUriAmqpPath() const {
+ return _uriAmqpPath;
+}
+
+/// Accessor for the UriTunnelPath
+std::string CPersistenceProtocolDoc::getUriTunnelPath() const {
+ return _uriTunnelPath;
+}
+
+/// Accessor for the TlsCertPath
+std::string CPersistenceProtocolDoc::getTlsCertPath() const {
+ return _tlsCertPath;
+}
+
+/// Accessor for the TlsCertPathCollection
+SmartPtrCCertPathCollectionDoc CPersistenceProtocolDoc::getTlsCertPathCollection() const {
+ return _tlsCertPathCollection;
+}
+
+Cdeqstr _tlsCipherCollection;
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CRemoteSecurityCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type RemoteSecurityCollection
+CRemoteSecurityCollectionDoc::CRemoteSecurityCollectionDoc() :
+ _isInitialized(false) {}
+CRemoteSecurityCollectionDoc::~CRemoteSecurityCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRemoteSecurityCollectionDoc::initialize(
+ const std::deque<SmartPtrCRemoteSecurityDoc> remoteSecurity) {
+ if (! _isInitialized) {
+ _remoteSecurity = remoteSecurity;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the RemoteSecurity
+std::deque<SmartPtrCRemoteSecurityDoc> CRemoteSecurityCollectionDoc::getRemoteSecurity() const {
+ return _remoteSecurity;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: Nov 16, 2015
+ *
+ * Copyright (c) 2015 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/PersistenceDoc/CRemoteSecurityDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CRemoteSecurityDoc
+CRemoteSecurityDoc::CRemoteSecurityDoc() :
+ _isInitialized(false) {}
+CRemoteSecurityDoc::~CRemoteSecurityDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRemoteSecurityDoc::initialize(
+ const std::string& remoteId,
+ const std::string& protocolName,
+ const std::string& cmsCert,
+ const std::string& cmsCipherName,
+ const SmartPtrCCertCollectionDoc& cmsCertCollection,
+ const std::string& cmsCertPath,
+ const SmartPtrCCertPathCollectionDoc& cmsCertPathCollection) {
+ if (! _isInitialized) {
+ _remoteId = remoteId;
+ _protocolName = protocolName;
+ _cmsCert = cmsCert;
+ _cmsCipherName = cmsCipherName;
+ _cmsCertCollection = cmsCertCollection;
+
+ _cmsCertPath = cmsCertPath;
+ _cmsCertPathCollection = cmsCertPathCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the RemoteId
+std::string CRemoteSecurityDoc::getRemoteId() const {
+ return _remoteId;
+}
+
+/// Accessor for the ProtocolName
+std::string CRemoteSecurityDoc::getProtocolName() const {
+ return _protocolName;
+}
+
+/// Accessor for the cmsCert
+std::string CRemoteSecurityDoc::getCmsCert() const {
+ return _cmsCert;
+}
+
+/// Accessor for the CmsCipher
+std::string CRemoteSecurityDoc::getCmsCipherName() const {
+ return _cmsCipherName;
+}
+
+/// Accessor for the CertCollection
+SmartPtrCCertCollectionDoc CRemoteSecurityDoc::getCmsCertCollection() const {
+ return _cmsCertCollection;
+}
+
+/// Accessor for the cmsCertPath
+std::string CRemoteSecurityDoc::getCmsCertPath() const {
+ return _cmsCertPath;
+}
+
+/// Accessor for the CertPathCollection
+SmartPtrCCertPathCollectionDoc CRemoteSecurityDoc::getCmsCertPathCollection() const {
+ return _cmsCertPathCollection;
+}
+
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define PERSISTENCEDOC_LINKAGE __declspec(dllexport)
+#else
+ #define PERSISTENCEDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/PersistenceDoc/PersistenceDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderInfraDoc/CClassCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ClassCollection
+CClassCollectionDoc::CClassCollectionDoc() :
+ _isInitialized(false) {}
+CClassCollectionDoc::~CClassCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassCollectionDoc::initialize(
+ const std::deque<SmartPtrCFullyQualifiedClassGroupDoc> fullyQualifiedClass) {
+ if (! _isInitialized) {
+ _fullyQualifiedClass = fullyQualifiedClass;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the FullyQualifiedClass
+std::deque<SmartPtrCFullyQualifiedClassGroupDoc> CClassCollectionDoc::getFullyQualifiedClass() const {
+ return _fullyQualifiedClass;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderInfraDoc/CProviderRegDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderReg
+CProviderRegDoc::CProviderRegDoc() :
+ _staleSec(0),
+ _isSchemaVisible(false),
+ _isInitialized(false) {}
+CProviderRegDoc::~CProviderRegDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderRegDoc::initialize(
+ const std::string providerNamespace,
+ const std::string providerName,
+ const std::string providerVersion,
+ const int32 staleSec,
+ const bool isSchemaVisible,
+ const std::string invokerRelPath) {
+ if (! _isInitialized) {
+ _providerNamespace = providerNamespace;
+ _providerName = providerName;
+ _providerVersion = providerVersion;
+ _staleSec = staleSec;
+ _isSchemaVisible = isSchemaVisible;
+ _invokerRelPath = invokerRelPath;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ProviderNamespace
+std::string CProviderRegDoc::getProviderNamespace() const {
+ return _providerNamespace;
+}
+
+/// Accessor for the ProviderName
+std::string CProviderRegDoc::getProviderName() const {
+ return _providerName;
+}
+
+/// Accessor for the ProviderVersion
+std::string CProviderRegDoc::getProviderVersion() const {
+ return _providerVersion;
+}
+
+/// Accessor for the StaleSec
+int32 CProviderRegDoc::getStaleSec() const {
+ return _staleSec;
+}
+
+/// Accessor for the IsSchemaVisible
+bool CProviderRegDoc::getIsSchemaVisible() const {
+ return _isSchemaVisible;
+}
+
+/// Accessor for the InvokerRelPath
+std::string CProviderRegDoc::getInvokerRelPath() const {
+ return _invokerRelPath;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderInfraDoc/CSchemaSummaryDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type SchemaSummary
+CSchemaSummaryDoc::CSchemaSummaryDoc() :
+ _isInitialized(false) {}
+CSchemaSummaryDoc::~CSchemaSummaryDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CSchemaSummaryDoc::initialize(
+ const std::string providerNamespace,
+ const std::string providerName,
+ const std::string providerVersion,
+ const SmartPtrCClassCollectionDoc classCollection,
+ const std::string invokerPath) {
+ if (! _isInitialized) {
+ _providerNamespace = providerNamespace;
+ _providerName = providerName;
+ _providerVersion = providerVersion;
+ _classCollection = classCollection;
+ _invokerPath = invokerPath;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ProviderNamespace
+std::string CSchemaSummaryDoc::getProviderNamespace() const {
+ return _providerNamespace;
+}
+
+/// Accessor for the ProviderName
+std::string CSchemaSummaryDoc::getProviderName() const {
+ return _providerName;
+}
+
+/// Accessor for the ProviderVersion
+std::string CSchemaSummaryDoc::getProviderVersion() const {
+ return _providerVersion;
+}
+
+/// Accessor for the ClassCollection
+SmartPtrCClassCollectionDoc CSchemaSummaryDoc::getClassCollection() const {
+ return _classCollection;
+}
+
+/// Accessor for the InvokerPath
+std::string CSchemaSummaryDoc::getInvokerPath() const {
+ return _invokerPath;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define PROVIDERINFRADOC_LINKAGE __declspec(dllexport)
+#else
+ #define PROVIDERINFRADOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/ProviderInfraDoc/ProviderInfraDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderBatchDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderBatch
+CProviderBatchDoc::CProviderBatchDoc() :
+ _isInitialized(false) {}
+CProviderBatchDoc::~CProviderBatchDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderBatchDoc::initialize(
+ const std::string outputDir,
+ const SmartPtrCProviderCollectInstancesCollectionDoc collectInstancesCollection,
+ const SmartPtrCProviderInvokeOperationCollectionDoc invokeOperationCollection) {
+ if (! _isInitialized) {
+ _outputDir = outputDir;
+ _collectInstancesCollection = collectInstancesCollection;
+ _invokeOperationCollection = invokeOperationCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the OutputDir
+std::string CProviderBatchDoc::getOutputDir() const {
+ return _outputDir;
+}
+
+/// Accessor for the CollectInstancesCollection
+SmartPtrCProviderCollectInstancesCollectionDoc CProviderBatchDoc::getCollectInstancesCollection() const {
+ return _collectInstancesCollection;
+}
+
+/// Accessor for the InvokeOperationCollection
+SmartPtrCProviderInvokeOperationCollectionDoc CProviderBatchDoc::getInvokeOperationCollection() const {
+ return _invokeOperationCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderCollectInstancesCollection
+CProviderCollectInstancesCollectionDoc::CProviderCollectInstancesCollectionDoc() :
+ _isInitialized(false) {}
+CProviderCollectInstancesCollectionDoc::~CProviderCollectInstancesCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderCollectInstancesCollectionDoc::initialize(
+ const std::deque<SmartPtrCProviderCollectInstancesDoc> collectInstances) {
+ if (! _isInitialized) {
+ _collectInstances = collectInstances;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the CollectInstances
+std::deque<SmartPtrCProviderCollectInstancesDoc> CProviderCollectInstancesCollectionDoc::getCollectInstances() const {
+ return _collectInstances;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderCollectInstancesDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderCollectInstances
+CProviderCollectInstancesDoc::CProviderCollectInstancesDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CProviderCollectInstancesDoc::~CProviderCollectInstancesDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderCollectInstancesDoc::initialize(
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion,
+ const UUID jobId,
+ const std::string outputDir,
+ const SmartPtrCParameterCollectionDoc parameterCollection) {
+ if (! _isInitialized) {
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+ _jobId = jobId;
+ _outputDir = outputDir;
+ _parameterCollection = parameterCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClassNamespace
+std::string CProviderCollectInstancesDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CProviderCollectInstancesDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CProviderCollectInstancesDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+/// Accessor for the JobId
+UUID CProviderCollectInstancesDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the OutputDir
+std::string CProviderCollectInstancesDoc::getOutputDir() const {
+ return _outputDir;
+}
+
+/// Accessor for the ParameterCollection
+SmartPtrCParameterCollectionDoc CProviderCollectInstancesDoc::getParameterCollection() const {
+ return _parameterCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderCollectSchemaRequest
+CProviderCollectSchemaRequestDoc::CProviderCollectSchemaRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CProviderCollectSchemaRequestDoc::~CProviderCollectSchemaRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderCollectSchemaRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const UUID jobId,
+ const std::string outputDir,
+ const SmartPtrCProviderRequestHeaderDoc requestHeader) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _jobId = jobId;
+ _outputDir = outputDir;
+ _requestHeader = requestHeader;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CProviderCollectSchemaRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CProviderCollectSchemaRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CProviderCollectSchemaRequestDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the JobId
+UUID CProviderCollectSchemaRequestDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the OutputDir
+std::string CProviderCollectSchemaRequestDoc::getOutputDir() const {
+ return _outputDir;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCProviderRequestHeaderDoc CProviderCollectSchemaRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderInvokeOperationCollection
+CProviderInvokeOperationCollectionDoc::CProviderInvokeOperationCollectionDoc() :
+ _isInitialized(false) {}
+CProviderInvokeOperationCollectionDoc::~CProviderInvokeOperationCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderInvokeOperationCollectionDoc::initialize(
+ const std::deque<SmartPtrCProviderInvokeOperationDoc> invokeOperation) {
+ if (! _isInitialized) {
+ _invokeOperation = invokeOperation;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the InvokeOperation
+std::deque<SmartPtrCProviderInvokeOperationDoc> CProviderInvokeOperationCollectionDoc::getInvokeOperation() const {
+ return _invokeOperation;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderInvokeOperationDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderInvokeOperation
+CProviderInvokeOperationDoc::CProviderInvokeOperationDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CProviderInvokeOperationDoc::~CProviderInvokeOperationDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderInvokeOperationDoc::initialize(
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion,
+ const UUID jobId,
+ const std::string outputDir,
+ const SmartPtrCOperationDoc operation) {
+ if (! _isInitialized) {
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+ _jobId = jobId;
+ _outputDir = outputDir;
+ _operation = operation;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClassNamespace
+std::string CProviderInvokeOperationDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CProviderInvokeOperationDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CProviderInvokeOperationDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+/// Accessor for the JobId
+UUID CProviderInvokeOperationDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the OutputDir
+std::string CProviderInvokeOperationDoc::getOutputDir() const {
+ return _outputDir;
+}
+
+/// Accessor for the Operation
+SmartPtrCOperationDoc CProviderInvokeOperationDoc::getOperation() const {
+ return _operation;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderRequestConfigDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderRequestConfig
+CProviderRequestConfigDoc::CProviderRequestConfigDoc() :
+ _isInitialized(false) {}
+CProviderRequestConfigDoc::~CProviderRequestConfigDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderRequestConfigDoc::initialize(
+ const std::string responseFormatType,
+ const SmartPtrCLoggingLevelCollectionDoc loggingLevelCollection) {
+ if (! _isInitialized) {
+ _responseFormatType = responseFormatType;
+ _loggingLevelCollection = loggingLevelCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ResponseFormatType
+std::string CProviderRequestConfigDoc::getResponseFormatType() const {
+ return _responseFormatType;
+}
+
+/// Accessor for the LoggingLevelCollection
+SmartPtrCLoggingLevelCollectionDoc CProviderRequestConfigDoc::getLoggingLevelCollection() const {
+ return _loggingLevelCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderRequestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderRequest
+CProviderRequestDoc::CProviderRequestDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CProviderRequestDoc::~CProviderRequestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderRequestDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCProviderRequestHeaderDoc requestHeader,
+ const SmartPtrCProviderBatchDoc batch,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _requestHeader = requestHeader;
+ _batch = batch;
+ _attachmentCollection = attachmentCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CProviderRequestDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CProviderRequestDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CProviderRequestDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the RequestHeader
+SmartPtrCProviderRequestHeaderDoc CProviderRequestDoc::getRequestHeader() const {
+ return _requestHeader;
+}
+
+/// Accessor for the Batch
+SmartPtrCProviderBatchDoc CProviderRequestDoc::getBatch() const {
+ return _batch;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CProviderRequestDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderRequestDoc/CProviderRequestHeaderDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderRequestHeader
+CProviderRequestHeaderDoc::CProviderRequestHeaderDoc() :
+ _isInitialized(false) {}
+CProviderRequestHeaderDoc::~CProviderRequestHeaderDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderRequestHeaderDoc::initialize(
+ const SmartPtrCProviderRequestConfigDoc requestConfig,
+ const SmartPtrCPropertyCollectionDoc echoPropertyBag) {
+ if (! _isInitialized) {
+ _requestConfig = requestConfig;
+ _echoPropertyBag = echoPropertyBag;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the RequestConfig
+SmartPtrCProviderRequestConfigDoc CProviderRequestHeaderDoc::getRequestConfig() const {
+ return _requestConfig;
+}
+
+/// Accessor for the EchoPropertyBag
+SmartPtrCPropertyCollectionDoc CProviderRequestHeaderDoc::getEchoPropertyBag() const {
+ return _echoPropertyBag;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define PROVIDERREQUESTDOC_LINKAGE __declspec(dllexport)
+#else
+ #define PROVIDERREQUESTDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/ProviderRequestDoc/ProviderRequestDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderResultsDoc/CCdifDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Cdif
+CCdifDoc::CCdifDoc() :
+ _isInitialized(false) {}
+CCdifDoc::~CCdifDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCdifDoc::initialize(
+ const SmartPtrCRequestIdentifierDoc requestIdentifier,
+ const SmartPtrCDefinitionObjectCollectionDoc definitionObjectCollection,
+ const SmartPtrCSchemaDoc schema) {
+ if (! _isInitialized) {
+ _requestIdentifier = requestIdentifier;
+ _definitionObjectCollection = definitionObjectCollection;
+ _schema = schema;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the RequestIdentifier
+SmartPtrCRequestIdentifierDoc CCdifDoc::getRequestIdentifier() const {
+ return _requestIdentifier;
+}
+
+/// Accessor for the DefinitionObjectCollection
+SmartPtrCDefinitionObjectCollectionDoc CCdifDoc::getDefinitionObjectCollection() const {
+ return _definitionObjectCollection;
+}
+
+/// Accessor for the Schema
+SmartPtrCSchemaDoc CCdifDoc::getSchema() const {
+ return _schema;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.h"
+
+using namespace Caf;
+
+/// Set of elements containing data returned as a result of a provider collection or action
+CDefinitionObjectCollectionDoc::CDefinitionObjectCollectionDoc() :
+ _isInitialized(false) {}
+CDefinitionObjectCollectionDoc::~CDefinitionObjectCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDefinitionObjectCollectionDoc::initialize(
+ const std::deque<std::string> value) {
+ if (! _isInitialized) {
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Value
+std::deque<std::string> CDefinitionObjectCollectionDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderResultsDoc/CRequestIdentifierDoc.h"
+
+using namespace Caf;
+
+/// Fields that allow client to determine which request resulted in this response document
+CRequestIdentifierDoc::CRequestIdentifierDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _jobId(CAFCOMMON_GUID_NULL),
+ _sessionId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CRequestIdentifierDoc::~CRequestIdentifierDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRequestIdentifierDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const UUID jobId,
+ const SmartPtrCActionClassDoc actionClass,
+ const UUID sessionId) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _jobId = jobId;
+ _actionClass = actionClass;
+ _sessionId = sessionId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CRequestIdentifierDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CRequestIdentifierDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CRequestIdentifierDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Identifier of the specific job within the request
+UUID CRequestIdentifierDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the ActionClass
+SmartPtrCActionClassDoc CRequestIdentifierDoc::getActionClass() const {
+ return _actionClass;
+}
+
+/// Client-configurable identifier that is opaque (not used) by the Common Agent Framework
+UUID CRequestIdentifierDoc::getSessionId() const {
+ return _sessionId;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ProviderResultsDoc/CSchemaDoc.h"
+
+using namespace Caf;
+
+/// Set of elements describing the objects that can be generated by the provider
+CSchemaDoc::CSchemaDoc() :
+ _isInitialized(false) {}
+CSchemaDoc::~CSchemaDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CSchemaDoc::initialize(
+ const std::deque<SmartPtrCDataClassDoc> dataClassCollection,
+ const std::deque<SmartPtrCActionClassDoc> actionClassCollection,
+ const std::deque<SmartPtrCLogicalRelationshipDoc> logicalRelationshipCollection,
+ const std::deque<SmartPtrCPhysicalRelationshipDoc> physicalRelationshipCollection) {
+ if (! _isInitialized) {
+ _dataClassCollection = dataClassCollection;
+ _actionClassCollection = actionClassCollection;
+ _logicalRelationshipCollection = logicalRelationshipCollection;
+ _physicalRelationshipCollection = physicalRelationshipCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the DataClassCollection
+std::deque<SmartPtrCDataClassDoc> CSchemaDoc::getDataClassCollection() const {
+ return _dataClassCollection;
+}
+
+/// Accessor for the ActionClassCollection
+std::deque<SmartPtrCActionClassDoc> CSchemaDoc::getActionClassCollection() const {
+ return _actionClassCollection;
+}
+
+/// Accessor for the LogicalRelationshipCollection
+std::deque<SmartPtrCLogicalRelationshipDoc> CSchemaDoc::getLogicalRelationshipCollection() const {
+ return _logicalRelationshipCollection;
+}
+
+/// Accessor for the PhysicalRelationshipCollection
+std::deque<SmartPtrCPhysicalRelationshipDoc> CSchemaDoc::getPhysicalRelationshipCollection() const {
+ return _physicalRelationshipCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define PROVIDERRESULTSDOC_LINKAGE __declspec(dllexport)
+#else
+ #define PROVIDERRESULTSDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/ProviderResultsDoc/ProviderResultsDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CErrorResponseDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ErrorResponse
+CErrorResponseDoc::CErrorResponseDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CErrorResponseDoc::~CErrorResponseDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CErrorResponseDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCResponseHeaderDoc responseHeader,
+ const std::string errorMessage) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _responseHeader = responseHeader;
+ _errorMessage = errorMessage;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CErrorResponseDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CErrorResponseDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CErrorResponseDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the Response Header
+SmartPtrCResponseHeaderDoc CErrorResponseDoc::getResponseHeader() const {
+ return _responseHeader;
+}
+
+/// Accessor for the ErrorMessage
+std::string CErrorResponseDoc::getErrorMessage() const {
+ return _errorMessage;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CEventKeyCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type EventKeyCollection
+CEventKeyCollectionDoc::CEventKeyCollectionDoc() :
+ _isInitialized(false) {}
+CEventKeyCollectionDoc::~CEventKeyCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CEventKeyCollectionDoc::initialize(
+ const std::deque<SmartPtrCEventKeyDoc> eventKey) {
+ if (! _isInitialized) {
+ _eventKey = eventKey;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the EventKey
+std::deque<SmartPtrCEventKeyDoc> CEventKeyCollectionDoc::getEventKey() const {
+ return _eventKey;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CEventKeyDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type EventKey
+CEventKeyDoc::CEventKeyDoc() :
+ _isInitialized(false) {}
+CEventKeyDoc::~CEventKeyDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CEventKeyDoc::initialize(
+ const std::string name,
+ const std::string value) {
+ if (! _isInitialized) {
+ _name = name;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CEventKeyDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Value
+std::string CEventKeyDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CEventManifestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type EventManifest
+CEventManifestDoc::CEventManifestDoc() :
+ _isInitialized(false) {}
+CEventManifestDoc::~CEventManifestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CEventManifestDoc::initialize(
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion,
+ const std::string operationName,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection) {
+ if (! _isInitialized) {
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+ _operationName = operationName;
+ _attachmentCollection = attachmentCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClassNamespace
+std::string CEventManifestDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CEventManifestDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CEventManifestDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+/// Accessor for the OperationName
+std::string CEventManifestDoc::getOperationName() const {
+ return _operationName;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CEventManifestDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CManifestCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ManifestCollection
+CManifestCollectionDoc::CManifestCollectionDoc() :
+ _isInitialized(false) {}
+CManifestCollectionDoc::~CManifestCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CManifestCollectionDoc::initialize(
+ const std::deque<SmartPtrCManifestDoc> manifest) {
+ if (! _isInitialized) {
+ _manifest = manifest;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Manifest
+std::deque<SmartPtrCManifestDoc> CManifestCollectionDoc::getManifest() const {
+ return _manifest;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CManifestDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Manifest
+CManifestDoc::CManifestDoc() :
+ _jobId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CManifestDoc::~CManifestDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CManifestDoc::initialize(
+ const std::string classNamespace,
+ const std::string className,
+ const std::string classVersion,
+ const UUID jobId,
+ const std::string operationName,
+ const SmartPtrCAttachmentNameCollectionDoc attachmentNameCollection) {
+ if (! _isInitialized) {
+ _classNamespace = classNamespace;
+ _className = className;
+ _classVersion = classVersion;
+ _jobId = jobId;
+ _operationName = operationName;
+ _attachmentNameCollection = attachmentNameCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClassNamespace
+std::string CManifestDoc::getClassNamespace() const {
+ return _classNamespace;
+}
+
+/// Accessor for the ClassName
+std::string CManifestDoc::getClassName() const {
+ return _className;
+}
+
+/// Accessor for the ClassVersion
+std::string CManifestDoc::getClassVersion() const {
+ return _classVersion;
+}
+
+/// Accessor for the JobId
+UUID CManifestDoc::getJobId() const {
+ return _jobId;
+}
+
+/// Accessor for the OperationName
+std::string CManifestDoc::getOperationName() const {
+ return _operationName;
+}
+
+/// Accessor for the AttachmentNameCollection
+SmartPtrCAttachmentNameCollectionDoc CManifestDoc::getAttachmentNameCollection() const {
+ return _attachmentNameCollection;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CProviderEventResponseDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderEventResponse
+CProviderEventResponseDoc::CProviderEventResponseDoc() :
+ _isInitialized(false) {}
+CProviderEventResponseDoc::~CProviderEventResponseDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderEventResponseDoc::initialize(
+ const std::string pmeId,
+ const SmartPtrCResponseHeaderDoc responseHeader,
+ const SmartPtrCEventManifestDoc manifest,
+ const SmartPtrCEventKeyCollectionDoc eventKeyCollection,
+ const SmartPtrCStatisticsDoc statistics) {
+ if (! _isInitialized) {
+ _pmeId = pmeId;
+ _responseHeader = responseHeader;
+ _manifest = manifest;
+ _eventKeyCollection = eventKeyCollection;
+ _statistics = statistics;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the PmeId
+std::string CProviderEventResponseDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the ResponseHeader
+SmartPtrCResponseHeaderDoc CProviderEventResponseDoc::getResponseHeader() const {
+ return _responseHeader;
+}
+
+/// Accessor for the Manifest
+SmartPtrCEventManifestDoc CProviderEventResponseDoc::getManifest() const {
+ return _manifest;
+}
+
+/// Accessor for the EventKeyCollection
+SmartPtrCEventKeyCollectionDoc CProviderEventResponseDoc::getEventKeyCollection() const {
+ return _eventKeyCollection;
+}
+
+/// Accessor for the Statistics
+SmartPtrCStatisticsDoc CProviderEventResponseDoc::getStatistics() const {
+ return _statistics;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CProviderResponseDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ProviderResponse
+CProviderResponseDoc::CProviderResponseDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CProviderResponseDoc::~CProviderResponseDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CProviderResponseDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCResponseHeaderDoc responseHeader,
+ const SmartPtrCManifestDoc manifest,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection,
+ const SmartPtrCStatisticsDoc statistics) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _responseHeader = responseHeader;
+ _manifest = manifest;
+ _attachmentCollection = attachmentCollection;
+ _statistics = statistics;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CProviderResponseDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CProviderResponseDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CProviderResponseDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the ResponseHeader
+SmartPtrCResponseHeaderDoc CProviderResponseDoc::getResponseHeader() const {
+ return _responseHeader;
+}
+
+/// Accessor for the Manifest
+SmartPtrCManifestDoc CProviderResponseDoc::getManifest() const {
+ return _manifest;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CProviderResponseDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+/// Accessor for the Statistics
+SmartPtrCStatisticsDoc CProviderResponseDoc::getStatistics() const {
+ return _statistics;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CResponseDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type Response
+CResponseDoc::CResponseDoc() :
+ _clientId(CAFCOMMON_GUID_NULL),
+ _requestId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CResponseDoc::~CResponseDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CResponseDoc::initialize(
+ const UUID clientId,
+ const UUID requestId,
+ const std::string pmeId,
+ const SmartPtrCResponseHeaderDoc responseHeader,
+ const SmartPtrCManifestCollectionDoc manifestCollection,
+ const SmartPtrCAttachmentCollectionDoc attachmentCollection,
+ const SmartPtrCStatisticsDoc statistics) {
+ if (! _isInitialized) {
+ _clientId = clientId;
+ _requestId = requestId;
+ _pmeId = pmeId;
+ _responseHeader = responseHeader;
+ _manifestCollection = manifestCollection;
+ _attachmentCollection = attachmentCollection;
+ _statistics = statistics;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ClientId
+UUID CResponseDoc::getClientId() const {
+ return _clientId;
+}
+
+/// Accessor for the RequestId
+UUID CResponseDoc::getRequestId() const {
+ return _requestId;
+}
+
+/// Accessor for the PmeId
+std::string CResponseDoc::getPmeId() const {
+ return _pmeId;
+}
+
+/// Accessor for the ManifestCollection
+SmartPtrCResponseHeaderDoc CResponseDoc::getResponseHeader() const {
+ return _responseHeader;
+}
+
+/// Accessor for the ManifestCollection
+SmartPtrCManifestCollectionDoc CResponseDoc::getManifestCollection() const {
+ return _manifestCollection;
+}
+
+/// Accessor for the AttachmentCollection
+SmartPtrCAttachmentCollectionDoc CResponseDoc::getAttachmentCollection() const {
+ return _attachmentCollection;
+}
+
+/// Accessor for the Statistics
+SmartPtrCStatisticsDoc CResponseDoc::getStatistics() const {
+ return _statistics;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/ResponseDoc/CResponseHeaderDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ResponseHeader
+CResponseHeaderDoc::CResponseHeaderDoc() :
+ _sequenceNumber(0),
+ _isFinalResponse(true),
+ _sessionId(CAFCOMMON_GUID_NULL),
+ _isInitialized(false) {}
+CResponseHeaderDoc::~CResponseHeaderDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CResponseHeaderDoc::initialize(
+ const std::string version,
+ const std::string createdDateTime,
+ const uint32 sequenceNumber,
+ const bool isFinalResponse,
+ const UUID sessionId) {
+ if (! _isInitialized) {
+ _version = version;
+ _createdDateTime = createdDateTime;
+ _sequenceNumber = sequenceNumber;
+ _isFinalResponse = isFinalResponse;
+ _sessionId = sessionId;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the version
+std::string CResponseHeaderDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the date/time when the request was created
+std::string CResponseHeaderDoc::getCreatedDateTime() const {
+ return _createdDateTime;
+}
+
+/// Accessor for the sequenceNumber
+uint32 CResponseHeaderDoc::getSequenceNumber() const {
+ return _sequenceNumber;
+}
+
+/// Accessor for the version
+bool CResponseHeaderDoc::getIsFinalResponse() const {
+ return _isFinalResponse;
+}
+
+/// Accessor for the session ID
+UUID CResponseHeaderDoc::getSessionId() const {
+ return _sessionId;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define RESPONSEDOC_LINKAGE __declspec(dllexport)
+#else
+ #define RESPONSEDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/ResponseDoc/ResponseDocInc.h"
+
+#endif /* STDAFX_H_ */
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CActionClassDoc.h"
+
+using namespace Caf;
+
+/// Definition of an action class that may be generated by the provider
+CActionClassDoc::CActionClassDoc() :
+ _isInitialized(false) {}
+CActionClassDoc::~CActionClassDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CActionClassDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const SmartPtrCCollectMethodDoc collectMethod,
+ const std::deque<SmartPtrCMethodDoc> methodCollection,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _collectMethod = collectMethod;
+ _methodCollection = methodCollection;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CActionClassDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CActionClassDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CActionClassDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the CollectMethod
+SmartPtrCCollectMethodDoc CActionClassDoc::getCollectMethod() const {
+ return _collectMethod;
+}
+
+/// Accessor for the Method
+std::deque<SmartPtrCMethodDoc> CActionClassDoc::getMethodCollection() const {
+ return _methodCollection;
+}
+
+/// A hint as to what this class should be called when displaying it to a human
+std::string CActionClassDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// A phrase to describe the class for mouse-over text, etc
+std::string CActionClassDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ActionClassInstanceCollection
+CActionClassInstanceCollectionDoc::CActionClassInstanceCollectionDoc() :
+ _isInitialized(false) {}
+CActionClassInstanceCollectionDoc::~CActionClassInstanceCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CActionClassInstanceCollectionDoc::initialize(
+ const std::deque<SmartPtrCActionClassInstanceDoc> actionClassInstanceCollection) {
+ if (! _isInitialized) {
+ _actionClassInstanceCollection = actionClassInstanceCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the ActionClassInstance
+std::deque<SmartPtrCActionClassInstanceDoc> CActionClassInstanceCollectionDoc::getActionClassInstanceCollection() const {
+ return _actionClassInstanceCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CActionClassInstanceDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type ActionClassInstance
+CActionClassInstanceDoc::CActionClassInstanceDoc() :
+ _isInitialized(false) {}
+CActionClassInstanceDoc::~CActionClassInstanceDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CActionClassInstanceDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const SmartPtrCInstanceOperationCollectionDoc instanceOperationCollection) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _instanceOperationCollection = instanceOperationCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CActionClassInstanceDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CActionClassInstanceDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CActionClassInstanceDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the InstanceOperationCollection
+SmartPtrCInstanceOperationCollectionDoc CActionClassInstanceDoc::getInstanceOperationCollection() const {
+ return _instanceOperationCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CClassCardinalityDoc.h"
+
+using namespace Caf;
+
+/// Class description of one end of a relationship
+CClassCardinalityDoc::CClassCardinalityDoc() :
+ _isInitialized(false) {}
+CClassCardinalityDoc::~CClassCardinalityDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassCardinalityDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const std::string cardinality) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _cardinality = cardinality;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CClassCardinalityDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CClassCardinalityDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CClassCardinalityDoc::getVersion() const {
+ return _version;
+}
+
+/// Cardinality of one end relationship, i.e. has one, has many, etc
+std::string CClassCardinalityDoc::getCardinality() const {
+ return _cardinality;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CClassFieldDoc.h"
+
+using namespace Caf;
+
+/// Description of a class and the field used to identify one end of a relationship
+CClassFieldDoc::CClassFieldDoc() :
+ _isInitialized(false) {}
+CClassFieldDoc::~CClassFieldDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassFieldDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const std::string field) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _field = field;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CClassFieldDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CClassFieldDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CClassFieldDoc::getVersion() const {
+ return _version;
+}
+
+/// Description of a class field used to identify one end of a relationship
+std::string CClassFieldDoc::getField() const {
+ return _field;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CClassIdentifierDoc.h"
+
+using namespace Caf;
+
+/// Tuple of values to uniquely identify a class
+CClassIdentifierDoc::CClassIdentifierDoc() :
+ _isInitialized(false) {}
+CClassIdentifierDoc::~CClassIdentifierDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassIdentifierDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CClassIdentifierDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CClassIdentifierDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CClassIdentifierDoc::getVersion() const {
+ return _version;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CClassInstancePropertyDoc.h"
+
+using namespace Caf;
+
+/// Definition of an attribute (field) of a class
+CClassInstancePropertyDoc::CClassInstancePropertyDoc() :
+ _required(false),
+ _transientVal(false),
+ _list(false),
+ _isInitialized(false) {}
+CClassInstancePropertyDoc::~CClassInstancePropertyDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassInstancePropertyDoc::initialize(
+ const std::string name,
+ const std::deque<SmartPtrCClassIdentifierDoc> type,
+ const bool required,
+ const bool transientVal,
+ const bool list,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _required = required;
+ _transientVal = transientVal;
+ _list = list;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Property name
+std::string CClassInstancePropertyDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Type
+std::deque<SmartPtrCClassIdentifierDoc> CClassInstancePropertyDoc::getType() const {
+ return _type;
+}
+
+/// Whether this is a required property, i.e. this property must always be non-empty
+bool CClassInstancePropertyDoc::getRequired() const {
+ return _required;
+}
+
+/// Accessor for the TransientVal
+bool CClassInstancePropertyDoc::getTransientVal() const {
+ return _transientVal;
+}
+
+/// Indicates whether to expect a list of properties in the provider response
+bool CClassInstancePropertyDoc::getList() const {
+ return _list;
+}
+
+/// A hint as to what this property should be called when displaying it to a human
+std::string CClassInstancePropertyDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// A phrase to describe the property for mouse-over text, etc
+std::string CClassInstancePropertyDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CClassPropertyDoc.h"
+
+using namespace Caf;
+
+/// Definition of an attribute (field) of a class
+CClassPropertyDoc::CClassPropertyDoc() :
+ _type(PROPERTY_NONE),
+ _required(false),
+ _key(false),
+ _list(false),
+ _caseSensitive(false),
+ _transientVal(false),
+ _validator(VALIDATOR_NONE),
+ _isInitialized(false) {}
+CClassPropertyDoc::~CClassPropertyDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CClassPropertyDoc::initialize(
+ const std::string name,
+ const PROPERTY_TYPE type,
+ const std::deque<std::string> value,
+ const bool required,
+ const bool key,
+ const bool list,
+ const bool caseSensitive,
+ const bool transientVal,
+ const std::string defaultVal,
+ const VALIDATOR_TYPE validator,
+ const std::string upperRange,
+ const std::string lowerRange,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _value = value;
+ _required = required;
+ _key = key;
+ _list = list;
+ _caseSensitive = caseSensitive;
+ _transientVal = transientVal;
+ _defaultVal = defaultVal;
+ _validator = validator;
+ _upperRange = upperRange;
+ _lowerRange = lowerRange;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Property name
+std::string CClassPropertyDoc::getName() const {
+ return _name;
+}
+
+/// Describes the data type of the property
+PROPERTY_TYPE CClassPropertyDoc::getType() const {
+ return _type;
+}
+
+/// The contents of a validator used on this property
+std::deque<std::string> CClassPropertyDoc::getValue() const {
+ return _value;
+}
+
+/// Whether this is a required property, i.e. this property must always be non-empty
+bool CClassPropertyDoc::getRequired() const {
+ return _required;
+}
+
+/// Indicates this property may be used as a key identifying field
+bool CClassPropertyDoc::getKey() const {
+ return _key;
+}
+
+/// Indicates whether to expect a list of properties in the provider response
+bool CClassPropertyDoc::getList() const {
+ return _list;
+}
+
+/// Indicates whether a string field should be treated in a case-sensitive manner
+bool CClassPropertyDoc::getCaseSensitive() const {
+ return _caseSensitive;
+}
+
+/// Accessor for the TransientVal
+bool CClassPropertyDoc::getTransientVal() const {
+ return _transientVal;
+}
+
+/// Accessor for the DefaultVal
+std::string CClassPropertyDoc::getDefaultVal() const {
+ return _defaultVal;
+}
+
+/// The type of validator described in the 'value' sub-elements
+VALIDATOR_TYPE CClassPropertyDoc::getValidator() const {
+ return _validator;
+}
+
+/// If a 'range' validator is in use, this describes the upper limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
+std::string CClassPropertyDoc::getUpperRange() const {
+ return _upperRange;
+}
+
+/// If a 'range' validator is in use, this describes the lower limit of allowable values for the property. QUESTIONABLE: how do we determine inclusive or exclusive range
+std::string CClassPropertyDoc::getLowerRange() const {
+ return _lowerRange;
+}
+
+/// A hint as to what this property should be called when displaying it to a human
+std::string CClassPropertyDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// A phrase to describe the property for mouse-over text, etc
+std::string CClassPropertyDoc::getDescription() const {
+ return _description;
+}
+
+VALIDATOR_TYPE _validator;
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CCmdlMetadataDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CmdlMetadata
+CCmdlMetadataDoc::CCmdlMetadataDoc() :
+ _isInitialized(false) {}
+CCmdlMetadataDoc::~CCmdlMetadataDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCmdlMetadataDoc::initialize(
+ const std::string name,
+ const std::string value) {
+ if (! _isInitialized) {
+ _name = name;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CCmdlMetadataDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Value
+std::string CCmdlMetadataDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CCmdlUnionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type CmdlUnion
+CCmdlUnionDoc::CCmdlUnionDoc() :
+ _isInitialized(false) {}
+CCmdlUnionDoc::~CCmdlUnionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCmdlUnionDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CCmdlUnionDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CCmdlUnionDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CCmdlUnionDoc::getVersion() const {
+ return _version;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CCollectMethodDoc.h"
+
+using namespace Caf;
+
+/// Definition of a collection method on a class
+CCollectMethodDoc::CCollectMethodDoc() :
+ _isInitialized(false) {}
+CCollectMethodDoc::~CCollectMethodDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CCollectMethodDoc::initialize(
+ const std::string name,
+ const std::deque<SmartPtrCMethodParameterDoc> parameterCollection,
+ const std::deque<SmartPtrCInstanceParameterDoc> instanceParameterCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> returnValCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> errorCollection) {
+ if (! _isInitialized) {
+ _name = name;
+ _parameterCollection = parameterCollection;
+ _instanceParameterCollection = instanceParameterCollection;
+ _returnValCollection = returnValCollection;
+ _eventValCollection = eventValCollection;
+ _errorCollection = errorCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// name of the collection method
+std::string CCollectMethodDoc::getName() const {
+ return _name;
+}
+
+/// Definition of a parameter that passes simple types to the collection method
+std::deque<SmartPtrCMethodParameterDoc> CCollectMethodDoc::getParameterCollection() const {
+ return _parameterCollection;
+}
+
+/// Definition of a parameter passing data class instances to the collection method
+std::deque<SmartPtrCInstanceParameterDoc> CCollectMethodDoc::getInstanceParameterCollection() const {
+ return _instanceParameterCollection;
+}
+
+/// Accessor for the ReturnVal
+std::deque<SmartPtrCClassIdentifierDoc> CCollectMethodDoc::getReturnValCollection() const {
+ return _returnValCollection;
+}
+
+/// Accessor for the EventVal
+std::deque<SmartPtrCClassIdentifierDoc> CCollectMethodDoc::getEventValCollection() const {
+ return _eventValCollection;
+}
+
+/// A class that may be returned to indicate an error occurred during the processing of the collection method
+std::deque<SmartPtrCClassIdentifierDoc> CCollectMethodDoc::getErrorCollection() const {
+ return _errorCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CDataClassDoc.h"
+
+using namespace Caf;
+
+/// Definition of a data class that may be generated by the provider
+CDataClassDoc::CDataClassDoc() :
+ _unique(false),
+ _transientVal(false),
+ _isInitialized(false) {}
+CDataClassDoc::~CDataClassDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDataClassDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const std::deque<SmartPtrCClassPropertyDoc> propertyCollection,
+ const std::deque<SmartPtrCClassInstancePropertyDoc> instancePropertyCollection,
+ const bool unique,
+ const bool transientVal,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _propertyCollection = propertyCollection;
+ _instancePropertyCollection = instancePropertyCollection;
+ _unique = unique;
+ _transientVal = transientVal;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CDataClassDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CDataClassDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CDataClassDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the Property
+std::deque<SmartPtrCClassPropertyDoc> CDataClassDoc::getPropertyCollection() const {
+ return _propertyCollection;
+}
+
+/// Accessor for the InstanceProperty
+std::deque<SmartPtrCClassInstancePropertyDoc> CDataClassDoc::getInstancePropertyCollection() const {
+ return _instancePropertyCollection;
+}
+
+/// Indicates whether the key properties of this class are enough to guarantee uniqueness from other classes of the same type
+bool CDataClassDoc::getUnique() const {
+ return _unique;
+}
+
+/// Accessor for the TransientVal
+bool CDataClassDoc::getTransientVal() const {
+ return _transientVal;
+}
+
+/// A hint as to what this class should be called when displaying it to a human
+std::string CDataClassDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// A phrase to describe the class for mouse-over text, etc
+std::string CDataClassDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DataClassInstanceCollection
+CDataClassInstanceCollectionDoc::CDataClassInstanceCollectionDoc() :
+ _isInitialized(false) {}
+CDataClassInstanceCollectionDoc::~CDataClassInstanceCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDataClassInstanceCollectionDoc::initialize(
+ const std::deque<SmartPtrCDataClassInstanceDoc> dataClassInstanceCollection) {
+ if (! _isInitialized) {
+ _dataClassInstanceCollection = dataClassInstanceCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the DataClassInstance
+std::deque<SmartPtrCDataClassInstanceDoc> CDataClassInstanceCollectionDoc::getDataClassInstanceCollection() const {
+ return _dataClassInstanceCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CDataClassInstanceDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DataClassInstance
+CDataClassInstanceDoc::CDataClassInstanceDoc() :
+ _isInitialized(false) {}
+CDataClassInstanceDoc::~CDataClassInstanceDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDataClassInstanceDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
+ const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
+ const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
+ const SmartPtrCCmdlUnionDoc cmdlUnion) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _cmdlMetadataCollection = cmdlMetadataCollection;
+ _propertyCollection = propertyCollection;
+ _instancePropertyCollection = instancePropertyCollection;
+ _cmdlUnion = cmdlUnion;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CDataClassInstanceDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CDataClassInstanceDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CDataClassInstanceDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the CmdlMetadata
+std::deque<SmartPtrCCmdlMetadataDoc> CDataClassInstanceDoc::getCmdlMetadataCollection() const {
+ return _cmdlMetadataCollection;
+}
+
+/// Accessor for the Property
+std::deque<SmartPtrCDataClassPropertyDoc> CDataClassInstanceDoc::getPropertyCollection() const {
+ return _propertyCollection;
+}
+
+/// Accessor for the InstanceProperty
+std::deque<SmartPtrCDataClassSubInstanceDoc> CDataClassInstanceDoc::getInstancePropertyCollection() const {
+ return _instancePropertyCollection;
+}
+
+/// Accessor for the CmdlUnion
+SmartPtrCCmdlUnionDoc CDataClassInstanceDoc::getCmdlUnion() const {
+ return _cmdlUnion;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CDataClassPropertyDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DataClassProperty
+CDataClassPropertyDoc::CDataClassPropertyDoc() :
+ _isInitialized(false) {}
+CDataClassPropertyDoc::~CDataClassPropertyDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDataClassPropertyDoc::initialize(
+ const std::string name,
+ const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadata,
+ const std::string value) {
+ if (! _isInitialized) {
+ _name = name;
+ _cmdlMetadata = cmdlMetadata;
+ _value = value;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CDataClassPropertyDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the CmdlMetadata
+std::deque<SmartPtrCCmdlMetadataDoc> CDataClassPropertyDoc::getCmdlMetadata() const {
+ return _cmdlMetadata;
+}
+
+/// Accessor for the Value
+std::string CDataClassPropertyDoc::getValue() const {
+ return _value;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CDataClassSubInstanceDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type DataClassSubInstance
+CDataClassSubInstanceDoc::CDataClassSubInstanceDoc() :
+ _isInitialized(false) {}
+CDataClassSubInstanceDoc::~CDataClassSubInstanceDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CDataClassSubInstanceDoc::initialize(
+ const std::string name,
+ const std::deque<SmartPtrCCmdlMetadataDoc> cmdlMetadataCollection,
+ const std::deque<SmartPtrCDataClassPropertyDoc> propertyCollection,
+ const std::deque<SmartPtrCDataClassSubInstanceDoc> instancePropertyCollection,
+ const SmartPtrCCmdlUnionDoc cmdlUnion) {
+ if (! _isInitialized) {
+ _name = name;
+ _cmdlMetadataCollection = cmdlMetadataCollection;
+ _propertyCollection = propertyCollection;
+ _instancePropertyCollection = instancePropertyCollection;
+ _cmdlUnion = cmdlUnion;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the Name
+std::string CDataClassSubInstanceDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the CmdlMetadata
+std::deque<SmartPtrCCmdlMetadataDoc> CDataClassSubInstanceDoc::getCmdlMetadataCollection() const {
+ return _cmdlMetadataCollection;
+}
+
+/// Accessor for the Property
+std::deque<SmartPtrCDataClassPropertyDoc> CDataClassSubInstanceDoc::getPropertyCollection() const {
+ return _propertyCollection;
+}
+
+/// Accessor for the InstanceProperty
+std::deque<SmartPtrCDataClassSubInstanceDoc> CDataClassSubInstanceDoc::getInstancePropertyCollection() const {
+ return _instancePropertyCollection;
+}
+
+/// Accessor for the CmdlUnion
+SmartPtrCCmdlUnionDoc CDataClassSubInstanceDoc::getCmdlUnion() const {
+ return _cmdlUnion;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CInstanceOperationCollectionDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstanceOperationCollection
+CInstanceOperationCollectionDoc::CInstanceOperationCollectionDoc() :
+ _isInitialized(false) {}
+CInstanceOperationCollectionDoc::~CInstanceOperationCollectionDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstanceOperationCollectionDoc::initialize(
+ const std::deque<SmartPtrCInstanceOperationDoc> instanceOperationCollection) {
+ if (! _isInitialized) {
+ _instanceOperationCollection = instanceOperationCollection;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the InstanceOperation
+std::deque<SmartPtrCInstanceOperationDoc> CInstanceOperationCollectionDoc::getInstanceOperationCollection() const {
+ return _instanceOperationCollection;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CInstanceOperationDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type InstanceOperation
+CInstanceOperationDoc::CInstanceOperationDoc() :
+ _isInitialized(false) {}
+CInstanceOperationDoc::~CInstanceOperationDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstanceOperationDoc::initialize(
+ const std::string operationName,
+ const std::string moniker) {
+ if (! _isInitialized) {
+ _operationName = operationName;
+ _moniker = moniker;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the OperationName
+std::string CInstanceOperationDoc::getOperationName() const {
+ return _operationName;
+}
+
+/// Accessor for the Moniker
+std::string CInstanceOperationDoc::getMoniker() const {
+ return _moniker;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CInstanceParameterDoc.h"
+
+using namespace Caf;
+
+/// A parameter containing a data class instance used by a method to control the outcome
+CInstanceParameterDoc::CInstanceParameterDoc() :
+ _isOptional(false),
+ _isList(false),
+ _isInitialized(false) {}
+CInstanceParameterDoc::~CInstanceParameterDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CInstanceParameterDoc::initialize(
+ const std::string name,
+ const std::string instanceNamespace,
+ const std::string instanceName,
+ const std::string instanceVersion,
+ const bool isOptional,
+ const bool isList,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _name = name;
+ _instanceNamespace = instanceNamespace;
+ _instanceName = instanceName;
+ _instanceVersion = instanceVersion;
+ _isOptional = isOptional;
+ _isList = isList;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Name of parameter
+std::string CInstanceParameterDoc::getName() const {
+ return _name;
+}
+
+/// Namespace of instance object type
+std::string CInstanceParameterDoc::getInstanceNamespace() const {
+ return _instanceNamespace;
+}
+
+/// Name of instance object type
+std::string CInstanceParameterDoc::getInstanceName() const {
+ return _instanceName;
+}
+
+/// Version of instance object type
+std::string CInstanceParameterDoc::getInstanceVersion() const {
+ return _instanceVersion;
+}
+
+/// Indicates this parameter need not be passed
+bool CInstanceParameterDoc::getIsOptional() const {
+ return _isOptional;
+}
+
+/// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
+bool CInstanceParameterDoc::getIsList() const {
+ return _isList;
+}
+
+/// Human-readable version of the parameter name
+std::string CInstanceParameterDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// Short description of what the parameter is for
+std::string CInstanceParameterDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CJoinTypeDoc.h"
+
+using namespace Caf;
+
+/// A simple container for objects of type JoinType
+CJoinTypeDoc::CJoinTypeDoc() :
+ _operand(OPERATOR_NONE),
+ _isInitialized(false) {}
+CJoinTypeDoc::~CJoinTypeDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CJoinTypeDoc::initialize(
+ const OPERATOR_TYPE operand,
+ const SmartPtrCClassFieldDoc dataClassLeft,
+ const SmartPtrCClassFieldDoc dataClassRight,
+ const std::string description) {
+ if (! _isInitialized) {
+ _operand = operand;
+ _dataClassLeft = dataClassLeft;
+ _dataClassRight = dataClassRight;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Defines the operand used to join the class fields. Restricted to '=' for now
+OPERATOR_TYPE CJoinTypeDoc::getOperand() const {
+ return _operand;
+}
+
+/// Identifies the fields on classes that uniquely identify relationship
+SmartPtrCClassFieldDoc CJoinTypeDoc::getDataClassLeft() const {
+ return _dataClassLeft;
+}
+
+/// Identifies the fields on classes that uniquely identify relationship
+SmartPtrCClassFieldDoc CJoinTypeDoc::getDataClassRight() const {
+ return _dataClassRight;
+}
+
+/// A short human-readable description of the join
+std::string CJoinTypeDoc::getDescription() const {
+ return _description;
+}
+
+OPERATOR_TYPE _operand;
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CLogicalRelationshipDoc.h"
+
+using namespace Caf;
+
+/// Definition of a relationship between classes that can be described by identifying the fields on the classes that uniquely identify the relationship
+CLogicalRelationshipDoc::CLogicalRelationshipDoc() :
+ _arity(ARITY_NONE),
+ _isInitialized(false) {}
+CLogicalRelationshipDoc::~CLogicalRelationshipDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CLogicalRelationshipDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const ARITY_TYPE arity,
+ const SmartPtrCClassCardinalityDoc dataClassLeft,
+ const SmartPtrCClassCardinalityDoc dataClassRight,
+ const std::deque<SmartPtrCJoinTypeDoc> joinCollection,
+ const std::string description) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _arity = arity;
+ _dataClassLeft = dataClassLeft;
+ _dataClassRight = dataClassRight;
+ _joinCollection = joinCollection;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CLogicalRelationshipDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CLogicalRelationshipDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CLogicalRelationshipDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the Arity
+ARITY_TYPE CLogicalRelationshipDoc::getArity() const {
+ return _arity;
+}
+
+/// Accessor for the DataClassLeft
+SmartPtrCClassCardinalityDoc CLogicalRelationshipDoc::getDataClassLeft() const {
+ return _dataClassLeft;
+}
+
+/// Accessor for the DataClassRight
+SmartPtrCClassCardinalityDoc CLogicalRelationshipDoc::getDataClassRight() const {
+ return _dataClassRight;
+}
+
+/// Defines a join condition of the relationship
+std::deque<SmartPtrCJoinTypeDoc> CLogicalRelationshipDoc::getJoinCollection() const {
+ return _joinCollection;
+}
+
+/// Accessor for the Description
+std::string CLogicalRelationshipDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CMethodDoc.h"
+
+using namespace Caf;
+
+/// Definition of a method on a class
+CMethodDoc::CMethodDoc() :
+ _isInitialized(false) {}
+CMethodDoc::~CMethodDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMethodDoc::initialize(
+ const std::string name,
+ const std::deque<SmartPtrCMethodParameterDoc> parameterCollection,
+ const std::deque<SmartPtrCInstanceParameterDoc> instanceParameterCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> returnValCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> eventValCollection,
+ const std::deque<SmartPtrCClassIdentifierDoc> errorCollection,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _name = name;
+ _parameterCollection = parameterCollection;
+ _instanceParameterCollection = instanceParameterCollection;
+ _returnValCollection = returnValCollection;
+ _eventValCollection = eventValCollection;
+ _errorCollection = errorCollection;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// name of the method
+std::string CMethodDoc::getName() const {
+ return _name;
+}
+
+/// Definition of a parameter that passes simple types to the method
+std::deque<SmartPtrCMethodParameterDoc> CMethodDoc::getParameterCollection() const {
+ return _parameterCollection;
+}
+
+/// Definition of a parameter that passes data class instances to the method
+std::deque<SmartPtrCInstanceParameterDoc> CMethodDoc::getInstanceParameterCollection() const {
+ return _instanceParameterCollection;
+}
+
+/// Accessor for the ReturnVal
+std::deque<SmartPtrCClassIdentifierDoc> CMethodDoc::getReturnValCollection() const {
+ return _returnValCollection;
+}
+
+/// Accessor for the EventVal
+std::deque<SmartPtrCClassIdentifierDoc> CMethodDoc::getEventValCollection() const {
+ return _eventValCollection;
+}
+
+/// A class that may be returned to indicate an error occurred during the processing of the collection method
+std::deque<SmartPtrCClassIdentifierDoc> CMethodDoc::getErrorCollection() const {
+ return _errorCollection;
+}
+
+/// Human-readable version of the method name
+std::string CMethodDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// A short phrase describing the purpose of the method
+std::string CMethodDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CMethodParameterDoc.h"
+
+using namespace Caf;
+
+/// A parameter containing a simple type used by a method to control the outcome
+CMethodParameterDoc::CMethodParameterDoc() :
+ _type(PARAMETER_NONE),
+ _isOptional(false),
+ _isList(false),
+ _isInitialized(false) {}
+CMethodParameterDoc::~CMethodParameterDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CMethodParameterDoc::initialize(
+ const std::string name,
+ const PARAMETER_TYPE type,
+ const bool isOptional,
+ const bool isList,
+ const std::string defaultVal,
+ const std::string displayName,
+ const std::string description) {
+ if (! _isInitialized) {
+ _name = name;
+ _type = type;
+ _isOptional = isOptional;
+ _isList = isList;
+ _defaultVal = defaultVal;
+ _displayName = displayName;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Name of parameter
+std::string CMethodParameterDoc::getName() const {
+ return _name;
+}
+
+/// Describes the data type of the property
+PARAMETER_TYPE CMethodParameterDoc::getType() const {
+ return _type;
+}
+
+/// Indicates this parameter need not be passed
+bool CMethodParameterDoc::getIsOptional() const {
+ return _isOptional;
+}
+
+/// Indicates whether to expect a list of values as opposed to a single value (the default if this attribute is not present)
+bool CMethodParameterDoc::getIsList() const {
+ return _isList;
+}
+
+/// Accessor for the DefaultVal
+std::string CMethodParameterDoc::getDefaultVal() const {
+ return _defaultVal;
+}
+
+/// Human-readable version of the parameter name
+std::string CMethodParameterDoc::getDisplayName() const {
+ return _displayName;
+}
+
+/// Short description of what the parameter is for
+std::string CMethodParameterDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CPhysicalRelationshipDoc.h"
+
+using namespace Caf;
+
+/// Describes a relationship between dataclass where the key information from data class instances comprising the relationship are listed in an instance of this class
+CPhysicalRelationshipDoc::CPhysicalRelationshipDoc() :
+ _arity(ARITY_NONE),
+ _isInitialized(false) {}
+CPhysicalRelationshipDoc::~CPhysicalRelationshipDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CPhysicalRelationshipDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const ARITY_TYPE arity,
+ const SmartPtrCClassCardinalityDoc dataClassLeft,
+ const SmartPtrCClassCardinalityDoc dataClassRight,
+ const std::string description) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _arity = arity;
+ _dataClassLeft = dataClassLeft;
+ _dataClassRight = dataClassRight;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CPhysicalRelationshipDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CPhysicalRelationshipDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CPhysicalRelationshipDoc::getVersion() const {
+ return _version;
+}
+
+/// Accessor for the Arity
+ARITY_TYPE CPhysicalRelationshipDoc::getArity() const {
+ return _arity;
+}
+
+/// Accessor for the DataClassLeft
+SmartPtrCClassCardinalityDoc CPhysicalRelationshipDoc::getDataClassLeft() const {
+ return _dataClassLeft;
+}
+
+/// Accessor for the DataClassRight
+SmartPtrCClassCardinalityDoc CPhysicalRelationshipDoc::getDataClassRight() const {
+ return _dataClassRight;
+}
+
+/// Accessor for the Description
+std::string CPhysicalRelationshipDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: April 6, 2012
+ *
+ * Copyright (c) 2012 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ *
+ */
+
+#include "stdafx.h"
+#include "Doc/SchemaTypesDoc/CRelationshipDoc.h"
+
+using namespace Caf;
+
+/// Definition of a relationship between data classes
+CRelationshipDoc::CRelationshipDoc() :
+ _arity(ARITY_NONE),
+ _isInitialized(false) {}
+CRelationshipDoc::~CRelationshipDoc() {}
+
+/// Initializes the object with everything required by this
+/// container. Once initialized, this object cannot
+/// be changed (i.e. it is immutable).
+void CRelationshipDoc::initialize(
+ const std::string namespaceVal,
+ const std::string name,
+ const std::string version,
+ const ARITY_TYPE arity,
+ const SmartPtrCClassCardinalityDoc dataClassLeft,
+ const SmartPtrCClassCardinalityDoc dataClassRight,
+ const std::string description) {
+ if (! _isInitialized) {
+ _namespaceVal = namespaceVal;
+ _name = name;
+ _version = version;
+ _arity = arity;
+ _dataClassLeft = dataClassLeft;
+ _dataClassRight = dataClassRight;
+ _description = description;
+
+ _isInitialized = true;
+ }
+}
+
+/// Accessor for the NamespaceVal
+std::string CRelationshipDoc::getNamespaceVal() const {
+ return _namespaceVal;
+}
+
+/// Accessor for the Name
+std::string CRelationshipDoc::getName() const {
+ return _name;
+}
+
+/// Accessor for the Version
+std::string CRelationshipDoc::getVersion() const {
+ return _version;
+}
+
+/// Number of parts (sides) to relationship. Restricted to a two-sided relationship for now
+ARITY_TYPE CRelationshipDoc::getArity() const {
+ return _arity;
+}
+
+/// Identifies the two classes that make up the relationship
+SmartPtrCClassCardinalityDoc CRelationshipDoc::getDataClassLeft() const {
+ return _dataClassLeft;
+}
+
+/// Identifies the two classes that make up the relationship
+SmartPtrCClassCardinalityDoc CRelationshipDoc::getDataClassRight() const {
+ return _dataClassRight;
+}
+
+/// A short human-readable description of the relationship
+std::string CRelationshipDoc::getDescription() const {
+ return _description;
+}
+
+
+
+
+
+
--- /dev/null
+/*
+ * Author: bwilliams
+ * Created: February 25, 2016
+ *
+ * Copyright (c) 2016 Vmware, Inc. All rights reserved.
+ * -- VMware Confidential
+ *
+ */
+
+#ifndef STDAFX_H_
+#define STDAFX_H_
+
+#ifdef WIN32
+ #define SCHEMATYPESDOC_LINKAGE __declspec(dllexport)
+#else
+ #define SCHEMATYPESDOC_LINKAGE
+#endif
+
+#include <CommonDefines.h>
+#include "Doc/SchemaTypesDoc/SchemaTypesDocInc.h"
+
+#endif /* STDAFX_H_ */
}
#endif
// If still not found, try the old directories...
- if ( (m_hDbhHelp == NULL) && (GetEnvironmentVariable(_T("ProgramFiles"), dbghelpFile, 4096) > 0) )
+ TCHAR dbghelpFile2[4096];
+ if ( (m_hDbhHelp == NULL) && (GetEnvironmentVariable(_T("ProgramFiles"), dbghelpFile2, 4096) > 0) )
{
- _tcscat_s(dbghelpFile, _T("\\Debugging Tools for Windows\\dbghelp.dll"));
+ _tcscat_s(dbghelpFile2, _T("\\Debugging Tools for Windows\\dbghelp.dll"));
// now check if the file exists:
- if (GetFileAttributes(dbghelpFile) != INVALID_FILE_ATTRIBUTES)
+ if (GetFileAttributes(dbghelpFile2) != INVALID_FILE_ATTRIBUTES)
{
- m_hDbhHelp = LoadLibrary(dbghelpFile);
+ m_hDbhHelp = LoadLibrary(dbghelpFile2);
}
}
#if defined _M_X64 || defined _M_IA64
+ TCHAR dbghelpFile3[4096];
// Still not found? Then try to load the (old) 64-Bit version:
- if ( (m_hDbhHelp == NULL) && (GetEnvironmentVariable(_T("ProgramFiles"), dbghelpFile, 4096) > 0) )
+ if ( (m_hDbhHelp == NULL) && (GetEnvironmentVariable(_T("ProgramFiles"), dbghelpFile3, 4096) > 0) )
{
- _tcscat_s(dbghelpFile, _T("\\Debugging Tools for Windows 64-Bit\\dbghelp.dll"));
- if (GetFileAttributes(dbghelpFile) != INVALID_FILE_ATTRIBUTES)
+ _tcscat_s(dbghelpFile3, _T("\\Debugging Tools for Windows 64-Bit\\dbghelp.dll"));
+ if (GetFileAttributes(dbghelpFile3) != INVALID_FILE_ATTRIBUTES)
{
- m_hDbhHelp = LoadLibrary(dbghelpFile);
+ m_hDbhHelp = LoadLibrary(dbghelpFile3);
}
}
#endif
_gManagementAgentHostWork.CreateInstance();
_gManagementAgentHostWork->initialize();
+ const uint32 maxStrLen = 4096;
+ if ((argc < 1) || (NULL == argv) || (NULL == argv[0]) || (::strnlen(argv[0], maxStrLen) >= maxStrLen)) {
+ CAF_CM_EXCEPTION_VA0(E_INVALIDARG, "argc/argv are invalid");
+ }
+
#ifdef WIN32
CWinService::initialize(_gManagementAgentHostWork);
CWinService::execute(argc, argv);
if (FileSystemUtils::doesFileExist(_listenerConfiguredStage1Path)) {
if (_persistence.IsNull()) {
_persistence = CPersistenceUtils::loadPersistence(_persistenceDir);
+ if (FileSystemUtils::doesFileExist(_listenerConfiguredStage2Path)) {
+ _persistenceUpdated = _persistence;
+ }
}
const SmartPtrCPersistenceDoc persistenceTmp =