]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Bulk changes for the common-agent service.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:48 +0000 (11:22 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:48 +0000 (11:22 -0700)
259 files changed:
open-vm-tools/common-agent/Cpp/Communication/amqpListener/src/amqpListenerMain.cpp
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAddInCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAddInsDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAttachmentCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAttachmentDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CAuthnAuthzDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CClassFiltersDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CClassSpecifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CInlineAttachmentDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CLoggingLevelElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/COperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CParameterCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CPropertyCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CProtocolCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CProtocolDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CRequestConfigDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CRequestHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CRequestInstanceParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CRequestParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CStatisticsDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CafCoreTypesDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CFullPackageElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CGetInventoryJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CInstallBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CInstallPackageSpecDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CInstallProviderJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CInstallProviderSpecDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CInstallRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CMinPackageElemDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CPackageDefnDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CUninstallProviderJobDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CafInstallRequestDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagRequestDoc/CDiagRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagRequestDoc/DiagRequestDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagDeleteValueDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagSetValueCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/CDiagSetValueDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/DiagTypesDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtRequestDoc/CMgmtRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtRequestDoc/MgmtRequestDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtCollectSchemaDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/CMgmtInvokeOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/MgmtTypesDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CCertCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CCertPathCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CLocalSecurityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CPersistenceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CPersistenceProtocolCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CPersistenceProtocolDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CRemoteSecurityCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/CRemoteSecurityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/PersistenceDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/CClassCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/CProviderRegDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/CSchemaSummaryDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/ProviderInfraDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderBatchDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderCollectInstancesDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderInvokeOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderRequestConfigDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderRequestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/CProviderRequestHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/ProviderRequestDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/CCdifDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/CRequestIdentifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/CSchemaDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/ProviderResultsDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CErrorResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CEventKeyCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CEventKeyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CEventManifestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CManifestCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CManifestDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CProviderEventResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CProviderResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CResponseDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/CResponseHeaderDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/ResponseDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CActionClassDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CActionClassInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CClassCardinalityDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CClassFieldDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CClassIdentifierDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CClassInstancePropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CClassPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CCmdlMetadataDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CCmdlUnionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CCollectMethodDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CDataClassDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CDataClassInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CDataClassPropertyDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CDataClassSubInstanceDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CInstanceOperationCollectionDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CInstanceOperationDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CInstanceParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CJoinTypeDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CLogicalRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CMethodDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CMethodParameterDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CPhysicalRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/CRelationshipDoc.h
open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/SchemaTypesDocLink.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/include/DocContracts.h
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInsDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassFiltersDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassSpecifierDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelElemDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/COperationDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CParameterCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestConfigDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestHeaderDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestInstanceParameterDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestParameterDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CStatisticsDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CGetInventoryJobDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallBatchDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallPackageSpecDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderJobDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderSpecDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CMinPackageElemDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CPackageDefnDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CUninstallProviderJobDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/CDiagRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagBatchDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagCollectInstancesDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/CMgmtRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtBatchDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectSchemaDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertPathCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CLocalSecurityDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CClassCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CProviderRegDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CSchemaSummaryDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderBatchDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestConfigDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestHeaderDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CCdifDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CRequestIdentifierDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CSchemaDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CErrorResponseDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventManifestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderEventResponseDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderResponseDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseHeaderDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassCardinalityDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassFieldDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassIdentifierDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassInstancePropertyDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassPropertyDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlMetadataDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlUnionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCollectMethodDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassPropertyDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassSubInstanceDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationCollectionDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceParameterDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CLogicalRelationshipDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodParameterDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CRelationshipDoc.cpp [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/stdafx.h [new file with mode: 0644]
open-vm-tools/common-agent/Cpp/Framework/Framework/src/Exception/StackWalker.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/ManagementAgent/src/ManagementAgentHostMain.cpp
open-vm-tools/common-agent/Cpp/ManagementAgent/Subsystems/MaIntegration/src/CConfigEnv.cpp

index c0b173c5d7eb194e213ceef9e75973595b491a74..68aecd08333a8b0ed34a934a762b5ad07bdd8f04 100644 (file)
@@ -93,6 +93,11 @@ int32 main(int32 argc, char** argv) {
        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);
index 2c1b3875a886c14ae376de6e43b57905b2d4ad13..15c73ca0c7b14af321f5faba4b6d08ec91b23eeb 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index bb03f6c46b623a3050c811165d83d6c3b6194ff7..10a851fcec10dabf217491b515a4db41052d4e27 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index d12a71583868c7ba8d9dda370e0d091f90026145..c6f6d761eb346558265e8bf41da02c908ebb6467 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index ddcf46ce24a9322563b6a0e2d8dc07dde939da9e..ce1c49abc2a497a9800954fdd045c1e79ecaecff 100644 (file)
 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
@@ -30,43 +27,23 @@ public:
                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;
index 341696649d757594f8c34c17d360d728152d55fc..0f542f0fcb163dfadd04f23493b23cbfa2b83ae8 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 4bd79143457576d58c12ae54c7fc766eeb65ef3f..ad58811f1e30dbd36b5595b21607644b2123598f 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 39afc7e2712f2bb21a4c46a844c4e962465641e7..4c262380baeb4b8d85365ff99050011203277eaf 100644 (file)
 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
@@ -28,37 +26,20 @@ public:
                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;
index 6599701fbdaaa0847d7c8e9fc72179603498a7dd..eeed1c77096a1f88f27102ad4c775dcdb5dca760 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index 6672a92762a6fc2468b4e33897f27a9fc3a11765..85d4924913f2501c30fcb4a70da75fceb51bc4c6 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index cd2d04db7d36158e762a0f08ab47219367ff0edf..037453eaca162518bcf5a3c1c837dee549433450 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index 7c33ab0464817620fb2b0b78838439e7c8567916..db1d4cbac0f29b3cd2cbbc3fd0ed939fa4fac876 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 0bdf80350bca0a49d4ce715ac96fb9df74e841d0..25789d2f63e230c778ae08b19798d90ee83f2ad9 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index 2f41493fe0494b7bea6fe7eda61d8bfb24f59ec5..4900cbfd7258e41ff85c707dd41c47962c767899 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 6791e8e25bc3b1b2f1ded31476b15b3f38b313c6..1219a305c3ee12a364e5f97fd9ec39468fe7b595 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,25 +25,14 @@ public:
        /// 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;
index 3d2dbff2bb92c9d0c3d3e43bf33fdce3dc03e3f9..2b340250366b527e89338aeb7898343f0b328b30 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index e1c0ac533a1258763b3982b3d199440c12f57e97..dfc6b49f0eb054c37f65ab44954f9ecd6ce03290 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index 70b1785bb1f820c27e4f32f8bf5f2b52d4302156..2c1da8297f89229d1792be31f0a48d4135da320a 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 3da307ebb90e2a0e2458c821164a308966154cca..934915b7c015aaf3f7ef693281d7e1eb6a635e79 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
index 25a7ab7fe0d4b9f4f749c142d91f0f67f5ce2a8f..50a925ae14f3ffff5205c485de3a2a618d6116ba 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 8a7f1f1b1dd0f3cde914f0b9f477f2fbd03447ca..65cd365d31060f2caba5bcf7b4a69e3fd4e86833 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
index b766dc5a692e8a19b66b4702f9e739d0cb48c2a7..0bf1b0665da1643c65b5c61ae98f7634a50e6f87 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
index 820509f78028557035dd74efab9bd77ae7bc59f8..491ba97746f590d25a131d8eb3ac2eee550abdc0 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,55 +30,29 @@ public:
                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;
index 7e555c29c75e2ce0fd962f4adddbce1bf56fc0bf..09e903416dc0d02b6009eb3e099846abec0ae6e1 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,43 +28,23 @@ public:
                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;
index 5513c170be801d7540f9a9595deee50f1ad22237..33e80310c3bd99be0fc65592a7f148edc236dad1 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
index 3a3175c84486e66f126e942b27d56391f2899cd2..d2db0a440abfe8af284420dec6241cedfe5df5e0 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -39,55 +30,29 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CafCoreTypesDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafCoreTypesDoc/CafCoreTypesDocLink.h
new file mode 100644 (file)
index 0000000..182f3b4
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 5b00823d115d208c4cd87382e63e84d902261c65..fb63918d51f3d888316ab77baa477bf72aeab20b 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,49 +29,26 @@ public:
                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;
index a6df7a7827af2354bca90ccf1f9641b34728c079..9c0ec117b2ec07043203964a38983ab271f1761b 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 4abfae57ef335274e6a0e46dce956de9cdb9a6e8..e11113af50a4e75fdcdcff4e97640ca42a90befe 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index 005b03b2faa77c3311a72822f739bc40a1dd9a5f..da39352da980163432f7086403b53bed7d89d1f9 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,61 +31,32 @@ public:
                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;
index 93e988e12aa260fbab33c89ee80371c8fa5d6102..896f2eede2699c643fe7b8ccad516e97d7906aa3 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -36,55 +30,29 @@ public:
                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;
index ee8846bbe5ce09afe2e1021f3ed908ed3c634a42..c755c29adaa6d937746700094621debb16366789 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -32,43 +28,23 @@ public:
                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;
index 44d9f7470183186881c66af7a0b480110a38f7b4..08f6b8fb46d12c904c3d61f7b202aa019e76eb1b 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,49 +29,26 @@ public:
                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;
index d9505ca79969ad51f1610d2136a18e69e13828f5..75baedf9c44d604d850ab26321f46c99a39e2da3 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,37 +27,20 @@ public:
                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;
index 60bdd2b19ce470eda8b68eea61b2993c394f51e3..5fc266f41935fb4745c60561762e6d7748ea96ea 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
index 5a60daee419cfb969e3a6e26f4f10b3122f63689..2ff65ce0041ad3c0c359b955c598bc82278116c1 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -35,49 +29,26 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CafInstallRequestDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/CafInstallRequestDoc/CafInstallRequestDocLink.h
new file mode 100644 (file)
index 0000000..52ba57d
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 5ba7a422d31c9e536d51bf13f94331390b8cacab..6af9af0cfca96c948625561b52c5e32e84ebe5b8 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,43 +28,23 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagRequestDoc/DiagRequestDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagRequestDoc/DiagRequestDocLink.h
new file mode 100644 (file)
index 0000000..a3384d6
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index af42ced5f59388f347465c912f6c82383b5b191b..73378d1518d806fde93902e65075e7c7a6dc810a 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index f41e858c34fdf2f723f320aa9a455794f9d51f8e..f018f9af04dca2088e2bbde5d618a850cba12d26 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index c634e57601cfd3d565dc2de3aaba8ae1812ecb61..bfd70aa8933483bee732f2ab7692439cdce81faa 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index b4808f7e5b3da944bd13b14b49f583fd3d723fb1..7fcc8f889b7447a3589bd854ec8a2b7b1aed7883 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
index 5b75cf5e89e92b29c2128cf6ea53cff96d21ce87..c6096df2b613f3b23cb4dacd86d70b85157b3fd1 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 9f641f389b7f934f7fbd9288e47939c9c1efbb32..d640c3d38204e1c673cb4a280e51a9caf1fd3085 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/DiagTypesDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/DiagTypesDoc/DiagTypesDocLink.h
new file mode 100644 (file)
index 0000000..2e45d5d
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 9f146d0aa491c16739c6508716e61fec05554c06..5453ca0c425ba98e5d35b77562e7a4a6c3001487 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,49 +29,26 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtRequestDoc/MgmtRequestDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtRequestDoc/MgmtRequestDocLink.h
new file mode 100644 (file)
index 0000000..171ba36
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index d5c47d3472c54684eb84356141064a887e60047d..d2532a6456c224e1361786086c3560adb56b6a9d 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index 397cc1de31f8e711c491b75d5f677e1fdcc0b6c7..5d3968d9e7918c0b858dbf61afa846836abfbfa0 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index c15627e1e6868ab312b3719d0e739a8df291dce6..2d83c397cf4cf73db7b115f61a6eadbee08902a0 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
index 4d6713f30bba12797fb00214db74ace9b44193f0..5fffb3b15a53366671c3b675ce2c9fe458a9973c 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index aa4b83ea897f9f2ac20cee15ed3029591fe42aca..ddd316f53544f0b1ff1fef3bba3fe6f586e82d5f 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index bc4748df6454f746fcf1341dd8e5ac4a8dc30ade..6b6646c13915a70e1e4b4d585e32931de3b8f268 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,31 +26,17 @@ public:
        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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/MgmtTypesDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MgmtTypesDoc/MgmtTypesDocLink.h
new file mode 100644 (file)
index 0000000..43d26e8
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 9d57e6ecd44584ba501a59ab9c7f1d46667a38ae..e80880c4cabcb1823f1e921dde902976edd0fc80 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 0af331d90a04f61232eef8656703bdb6f8721b2b..f820f3b6cca097cc02bc065ba2789ac82dbc33a5 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index 6c04429daa2bb41823b374a7304b0d7c138d4632..31d8900eec31c48c2a541d5264c91b162b8fcd1c 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -32,37 +27,20 @@ public:
                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;
index e560c463cb4f23d65f1148049c4efcbcd3630784..62cbc5296a025b9a4d3239c19ebbe8f0e175fea3 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/MultiPmeMgmtRequestDoc/MultiPmeMgmtRequestDocLink.h
new file mode 100644 (file)
index 0000000..0b81dfe
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index b77dd62cda844f8b251028e6d026610b877c43b5..a2175c401bc97e990ec26cb2f50844aa17480156 100644 (file)
 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
@@ -34,67 +31,35 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PayloadEnvelopeDoc/PayloadEnvelopeDocLink.h
new file mode 100644 (file)
index 0000000..427c253
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 505967b0b0971db13e0bebbf78157dd7cfe6f2da..c6a7708dd9543c81e8244679f41ab3377bea3e0c 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 871c116771783ad4026b72bf7c26021e774411df..fd7082f849841b863d30ab5357e60151913a8b10 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index fd99ab2d87fc230f747ff8ff7ae45769fd3d15db..726c1047be453a653ef5ba291041a499ae776c5f 100644 (file)
 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
@@ -28,44 +27,23 @@ public:
                        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;
index 50a5d911630067c880d64f6a4d47db403c4c6b9c..6f01b836da99bdff6f158b44ddd835dcb9c70a93 100644 (file)
 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
@@ -27,37 +26,20 @@ public:
                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;
index 23140e4570f80bd313115c96fd7140028e25cc71..1352adcbdcc8dc1bf8a50e76bf8696a1147df8b6 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 659a68a5d172fcb63d8d3a8d87a7f85919e308d4..e34cd2f907ac2f07d3768d72d1ae78985b7b315a 100644 (file)
 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
@@ -35,86 +34,44 @@ public:
                        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;
index 978b59fb18291d82621b2c7fbd7c4d403e780a64..0d1aebcc01a10da359720986fb1114aa8c1bb22a 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 9411fc565c3047b56c358940db5587a3ea272958..9f2ceb55c84890650b653b02b679517328230940 100644 (file)
 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
@@ -30,56 +29,29 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/PersistenceDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/PersistenceDoc/PersistenceDocLink.h
new file mode 100644 (file)
index 0000000..097991d
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 5a5ffbab14e4c60cc129bdae90e87719916addd4..96f731307160081672c624e3a4091d2e7dbf406b 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index bf8a632f5a0430dec31f44fce313a16ae863cf7e..ec8ba3f4a0da9e0961ca2a32732a114a99d58ad8 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,49 +29,26 @@ public:
                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;
index 08d3e33c393373575cc51690d89bb2f39ba55130..f513109b61b8da87fc56f60b20e2e2c85440f07c 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,43 +28,23 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/ProviderInfraDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderInfraDoc/ProviderInfraDocLink.h
new file mode 100644 (file)
index 0000000..1d70337
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 59523032310389331628fa36aaa1f6e1dc35bbcf..4c57d817e7d6721c1a285808ac73083d82e6809f 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index f2702147da2fb3b85e7e7584ddbb8b594e122eb9..dd9fc52a251b5350d6c40760fb96e7b3fb144264 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 768ba550de793b1b98e9ec8a93ca3fe90955e00c..d2f32e79a0703e885dbc5dd5dcbde07368f07083 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,49 +29,26 @@ public:
                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;
index 26d5c5d7865cf26f9d0dbbf4e27af98c3060a251..b159838b183ce152fb55efbf50a591ac5bdb3370 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -35,49 +29,26 @@ public:
                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;
index 903efcd07bdfb0aaa95eae559d1b358235862bb4..4c6b99047cb06d64291d9cbedb230eae03226654 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 1bff3328a7389b1f640fb23bed87bd6c869837b8..8da092be51a9ae559bfdf866c342fde0a0154d8c 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,49 +29,26 @@ public:
                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;
index ab3b11dce56f3cb719f2dc8c13e7da6355efcbeb..8cbb91a06619be9f9c02fb780443246edbc2ab24 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index d82777a6f0cd36f7f0c952f24dab99b5abd33e7f..3b929fafa0603180d5403c01781281664bc4cb35 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,49 +29,26 @@ public:
                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;
index e7f2d7d992d62b1ec0ddbf43c2970f94b85e98df..b0e70fb6cab528c23c0eef24335ab84c3124b8ed 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/ProviderRequestDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderRequestDoc/ProviderRequestDocLink.h
new file mode 100644 (file)
index 0000000..0cd0d8e
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index aaf39734239873d37c8054a41b62c982b33d82a4..829bb89df904218d516f34fa22059c7c75fa9743 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index b56dcc55be03e83b801d6b33a0c6bf5366758fee..cc146f1c6b3e567bc0368109f8b253892ae2490d 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 673fbfb2139b957e12a17dce3c8d474723ae818c..2621fe0d68760c0b8bb6e00e6976a2b3c82c1d59 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -36,49 +29,26 @@ public:
                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;
index 77058e3ec2aa99a2c39ef4da7b397b72c44438e1..f49adb32c33019bb1a0afcb3c892ab31fd835364 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/ProviderResultsDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ProviderResultsDoc/ProviderResultsDocLink.h
new file mode 100644 (file)
index 0000000..88d6451
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 6422f24b43cc136360293daf3d5597421496e9ca..72ea3370c1a922719d713ba1acd277cdb95bace7 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,43 +28,23 @@ public:
                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;
index 81408cfe9c2ffb88c72150eff96a4be5be5d684c..1f6a8559e8f1d3d56fada321a1fdd9c15387ebd6 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 663d278ce071c2fef96ec38ee0cf0570b7eb085b..94ee81078e389ea3f8e39a0a421b69e72f95df51 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index a9a1ea6dd71045a70411f6932c158c402e493fee..c9975369d413f8c7787e61bbb3444e409a215a11 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,43 +28,23 @@ public:
                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;
index 005c3ad1266ab4e049c79b98529243d53e28c3be..c0206dfb0f6fcd35b3737d08594a5ae6434a639b 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 767c6383d5c9f134eda54a188d40dd93eb56b6fd..78589ca5839bdcd243f7175dafa42a9f4eabeadb 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,49 +29,26 @@ public:
                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;
index 90ed428f8e8b279890f3325cd8a4ff0d71b72f64..5124f028cba37375b51fb8f33af508d2812731f8 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,43 +28,23 @@ public:
                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;
index 84b8b5b76bbf5dd65b3ca35fcf10bd35a14c3ffb..8fd92b9c4882cfd8a48839a4cde5dd5c9f0003cf 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -35,55 +30,29 @@ public:
                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;
index 79df7f1ccbfafaac9cf9796c664130b295349d10..929d978c65607241aef89df91c88c0986fdf1a6c 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -35,55 +30,29 @@ public:
                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;
index 4e9655d9621e8110aa98ef521639bc5235ce23b7..fa679fd3aa483bd0255f545bf7c1c324a7821fab 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,43 +28,23 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/ResponseDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/ResponseDoc/ResponseDocLink.h
new file mode 100644 (file)
index 0000000..ed44a1f
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 4a3e7114262cd1e5ea72a3e8cef9e4556df88cfe..8daee30e84318f14a5f02d9962eba85332ecae6c 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,55 +30,29 @@ public:
                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;
index fc6ffcd8b3393528a85c5374b290e38bc285dcd8..d15f61ceed56b7d48399bb43dceb93e2acc41e36 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index f0641ea0b482307fccd0a83b682b19e0decaa552..959f7a83cc2e42277eef97d4b602fc62ac45d126 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
index 10d37b2bbe964c29aa1ac7a8aec7457553a6c9cd..31df655da8de8c41d09f279af11eedaa87957de0 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
index 47752eb5265cb95687af2230b227c6006e8ae245..5c1fca9f62524cb98aa2d35c9487e36316297e32 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -30,37 +27,20 @@ public:
                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;
index 7764f02608cd2ae2a3b2834b546ec368e71ce70d..d48574ac931bc60f6c677a28d3d2415d637775a4 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index dd68090a9d3581870df0fce516b3bb976648f139..52f501dc50db3f18ef9841c4f7ae62456706dd89 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -36,55 +30,29 @@ public:
                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;
index b3058e290d90eaea9b8b10d0380366321fb9a3cd..b45b406842d78b55a1dee3050b4bb1cdfc78f7f2 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -47,97 +37,50 @@ public:
                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;
index 8b05cdd5768aa906a133b9f98a24c3e607ac3b01..2ca02085c639f52ac73f5ade24be70c7aea40747 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index b6d22c637187f79a42d63dadf22bac7e3f1608d9..c5e1a2af4bb71c69a36d733f919899ce13df9617 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index df9d238d3f293004ba43addb106edd03a0c6effc..4b04fb2ed210bf1506c3fe5a889b7cbb2c40cc42 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -32,49 +29,26 @@ public:
                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;
index ace402e80c6dddbd31cf909be5ceff4491f5f26f..f0faaa7984920168c15de3e98f5bde18a2f3fc94 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -37,67 +32,35 @@ public:
                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;
index ed360f873faba9e91d795647fec0c6ee0bde3c84..2c73410f03fd949f70aa83e58b6aa342a7c3b428 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index 72c18790446f5320c0d83caf64a69fca4684f163..ea22616cd5b30930f238ca5ff3738235e051f02f 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -33,55 +30,29 @@ public:
                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;
index 4ba19082b0ddd0b4546a88749ca8854c5df7be22..5b60c31071e6379985e6bfe9e36a60d93ab07b3e 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -29,31 +26,17 @@ public:
        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;
index b4137c9c20b2d4269859b42c3ea5cadb09b9fd9e..3a04886fe9b1b6c24baefdafda7d7d13affb47fb 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,43 +28,23 @@ public:
                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;
index 5309585dde9cd53870645b4442090f1b2fa29e1c..af0d6e2e19e88ad40635b7cba6330b2f651d0b54 100644 (file)
@@ -5,8 +5,6 @@
  *  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;
index d65004590708acad2b225ecd02e8997031619715..e3af760a4a6f258d03be03214541c6dc22f3f521 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -28,25 +25,14 @@ public:
        /// 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;
index 241f2f160f124a6d6411c96fc53d94513f47c650..4f76efcf2e2dc475365ff6f8ab6d13d8c3fcad09 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -36,61 +31,32 @@ public:
                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;
index da3c172d6b1320a324a50bba0838ae26a1585582..d7bb49d0401dd52dfba42966764a04c3f270d2c5 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -31,37 +27,20 @@ public:
                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;
index af3da625a798089592b60a1863ad4e1e73b04fc7..99e08b7f08627b45145d5898f5e521a10adc83eb 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -35,61 +31,32 @@ public:
                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;
index eeb0c200e27c97d5e9a4556d2dc145725882b407..e429519cacae74b921dfdb4f50acf8f080fcd4bc 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,61 +31,32 @@ public:
                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;
index a351cd0c09c701ae7fb0bca954e037ad8246a098..bd4537e5f97d46c0af87e7a11c659212fe9a9c37 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -36,55 +30,29 @@ public:
                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;
index 4f17e66e6ac6593dc3a999a89602bb9d98f52ac2..334ca9c955c8f61a7e93c8bd146538f58535cb78 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,55 +30,29 @@ public:
                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;
index c541ed2d20279fad3f3103cb5d015e291d42d173..56ff35c30621da0741193949bd6dce7577bbc4b3 100644 (file)
@@ -5,8 +5,6 @@
  *  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
@@ -34,55 +30,29 @@ public:
                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;
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/SchemaTypesDocLink.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/include/Doc/SchemaTypesDoc/SchemaTypesDocLink.h
new file mode 100644 (file)
index 0000000..ee6ce2c
--- /dev/null
@@ -0,0 +1,27 @@
+/*
+ *  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_ */
index 57ba0feec4a6c8bff3a3535a3e08da2c6bcb040d..9e95112acbb8addc0749424b5e281f6aff2c037a 100644 (file)
@@ -9,19 +9,19 @@
 #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
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..f21497f
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInsDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAddInsDoc.cpp
new file mode 100644 (file)
index 0000000..4f536ec
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..6f8974a
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentDoc.cpp
new file mode 100644 (file)
index 0000000..12f7b91
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ *  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;
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAttachmentNameCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..b492758
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..54f5881
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CAuthnAuthzDoc.cpp
new file mode 100644 (file)
index 0000000..e989498
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassFiltersDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassFiltersDoc.cpp
new file mode 100644 (file)
index 0000000..8bfc01b
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassSpecifierDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CClassSpecifierDoc.cpp
new file mode 100644 (file)
index 0000000..781adc4
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CFullyQualifiedClassGroupDoc.cpp
new file mode 100644 (file)
index 0000000..eed7737
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..6661ebe
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CInlineAttachmentDoc.cpp
new file mode 100644 (file)
index 0000000..d2beab0
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..9912d76
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelElemDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CLoggingLevelElemDoc.cpp
new file mode 100644 (file)
index 0000000..482116b
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ *  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;
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/COperationDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/COperationDoc.cpp
new file mode 100644 (file)
index 0000000..0ee75e1
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CParameterCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CParameterCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..42161c6
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..2cbaa53
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CPropertyDoc.cpp
new file mode 100644 (file)
index 0000000..b50a9f4
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..7b5b267
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CProtocolDoc.cpp
new file mode 100644 (file)
index 0000000..fc041f8
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestConfigDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestConfigDoc.cpp
new file mode 100644 (file)
index 0000000..c2d133b
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestHeaderDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestHeaderDoc.cpp
new file mode 100644 (file)
index 0000000..32fb7a5
--- /dev/null
@@ -0,0 +1,85 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestInstanceParameterDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestInstanceParameterDoc.cpp
new file mode 100644 (file)
index 0000000..134542c
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestParameterDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CRequestParameterDoc.cpp
new file mode 100644 (file)
index 0000000..b847e7e
--- /dev/null
@@ -0,0 +1,57 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CStatisticsDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/CStatisticsDoc.cpp
new file mode 100644 (file)
index 0000000..6bfcfae
--- /dev/null
@@ -0,0 +1,89 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafCoreTypesDoc/stdafx.h
new file mode 100644 (file)
index 0000000..b9c3bd9
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp
new file mode 100644 (file)
index 0000000..beb1211
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CGetInventoryJobDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CGetInventoryJobDoc.cpp
new file mode 100644 (file)
index 0000000..1962f83
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallBatchDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallBatchDoc.cpp
new file mode 100644 (file)
index 0000000..2c8a635
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallPackageSpecDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallPackageSpecDoc.cpp
new file mode 100644 (file)
index 0000000..dbf1854
--- /dev/null
@@ -0,0 +1,91 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderJobDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderJobDoc.cpp
new file mode 100644 (file)
index 0000000..6ca6a36
--- /dev/null
@@ -0,0 +1,86 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderSpecDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallProviderSpecDoc.cpp
new file mode 100644 (file)
index 0000000..6382b6c
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CInstallRequestDoc.cpp
new file mode 100644 (file)
index 0000000..a46a687
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CMinPackageElemDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CMinPackageElemDoc.cpp
new file mode 100644 (file)
index 0000000..92f7317
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CPackageDefnDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CPackageDefnDoc.cpp
new file mode 100644 (file)
index 0000000..cfc6732
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CUninstallProviderJobDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CUninstallProviderJobDoc.cpp
new file mode 100644 (file)
index 0000000..1fee99b
--- /dev/null
@@ -0,0 +1,79 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/stdafx.h
new file mode 100644 (file)
index 0000000..c4e7315
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/CDiagRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/CDiagRequestDoc.cpp
new file mode 100644 (file)
index 0000000..0b96704
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagRequestDoc/stdafx.h
new file mode 100644 (file)
index 0000000..397f63d
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagBatchDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagBatchDoc.cpp
new file mode 100644 (file)
index 0000000..6bc3011
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagCollectInstancesDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagCollectInstancesDoc.cpp
new file mode 100644 (file)
index 0000000..64c03de
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..6d0a8c9
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagDeleteValueDoc.cpp
new file mode 100644 (file)
index 0000000..0be0e52
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..a8bd20e
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/CDiagSetValueDoc.cpp
new file mode 100644 (file)
index 0000000..3d4c201
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/DiagTypesDoc/stdafx.h
new file mode 100644 (file)
index 0000000..e89c6af
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/CMgmtRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/CMgmtRequestDoc.cpp
new file mode 100644 (file)
index 0000000..b4f8d7c
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtRequestDoc/stdafx.h
new file mode 100644 (file)
index 0000000..abb636f
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtBatchDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtBatchDoc.cpp
new file mode 100644 (file)
index 0000000..8d6b793
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..d157d0a
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectInstancesDoc.cpp
new file mode 100644 (file)
index 0000000..53b7009
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectSchemaDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtCollectSchemaDoc.cpp
new file mode 100644 (file)
index 0000000..165b1b0
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..99436fa
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/CMgmtInvokeOperationDoc.cpp
new file mode 100644 (file)
index 0000000..7efa375
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MgmtTypesDoc/stdafx.h
new file mode 100644 (file)
index 0000000..b56359e
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..8790944
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtBatchDoc.cpp
new file mode 100644 (file)
index 0000000..fdbf14d
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CMultiPmeMgmtRequestDoc.cpp
new file mode 100644 (file)
index 0000000..e9bc2f4
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/CPmeIdCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..a119389
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/MultiPmeMgmtRequestDoc/stdafx.h
new file mode 100644 (file)
index 0000000..cdebb3f
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/CPayloadEnvelopeDoc.cpp
new file mode 100644 (file)
index 0000000..ff17050
--- /dev/null
@@ -0,0 +1,98 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PayloadEnvelopeDoc/stdafx.h
new file mode 100644 (file)
index 0000000..41d2451
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..7aa1b59
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertPathCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CCertPathCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..19b84ef
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CLocalSecurityDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CLocalSecurityDoc.cpp
new file mode 100644 (file)
index 0000000..6cdcae2
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceDoc.cpp
new file mode 100644 (file)
index 0000000..8d2a494
--- /dev/null
@@ -0,0 +1,62 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..8a78dcc
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CPersistenceProtocolDoc.cpp
new file mode 100644 (file)
index 0000000..c0d17c3
--- /dev/null
@@ -0,0 +1,121 @@
+/*
+ *  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;
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..6cc69a6
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/CRemoteSecurityDoc.cpp
new file mode 100644 (file)
index 0000000..d101b6a
--- /dev/null
@@ -0,0 +1,85 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/PersistenceDoc/stdafx.h
new file mode 100644 (file)
index 0000000..c3b4977
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CClassCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CClassCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..be7abf5
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CProviderRegDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CProviderRegDoc.cpp
new file mode 100644 (file)
index 0000000..7e2a9bf
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CSchemaSummaryDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/CSchemaSummaryDoc.cpp
new file mode 100644 (file)
index 0000000..5ca6691
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderInfraDoc/stdafx.h
new file mode 100644 (file)
index 0000000..05101b0
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderBatchDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderBatchDoc.cpp
new file mode 100644 (file)
index 0000000..11af36a
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..2f28600
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectInstancesDoc.cpp
new file mode 100644 (file)
index 0000000..422c074
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderCollectSchemaRequestDoc.cpp
new file mode 100644 (file)
index 0000000..65299ce
--- /dev/null
@@ -0,0 +1,79 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..84fd4f4
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderInvokeOperationDoc.cpp
new file mode 100644 (file)
index 0000000..270de7d
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestConfigDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestConfigDoc.cpp
new file mode 100644 (file)
index 0000000..212ed5b
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestDoc.cpp
new file mode 100644 (file)
index 0000000..203b348
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestHeaderDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/CProviderRequestHeaderDoc.cpp
new file mode 100644 (file)
index 0000000..e279d79
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderRequestDoc/stdafx.h
new file mode 100644 (file)
index 0000000..216288e
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CCdifDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CCdifDoc.cpp
new file mode 100644 (file)
index 0000000..ee492e6
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CDefinitionObjectCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..da388a4
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CRequestIdentifierDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CRequestIdentifierDoc.cpp
new file mode 100644 (file)
index 0000000..bb53de8
--- /dev/null
@@ -0,0 +1,80 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CSchemaDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/CSchemaDoc.cpp
new file mode 100644 (file)
index 0000000..f59b121
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ProviderResultsDoc/stdafx.h
new file mode 100644 (file)
index 0000000..ef81fc7
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CErrorResponseDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CErrorResponseDoc.cpp
new file mode 100644 (file)
index 0000000..fad598d
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..aa34770
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventKeyDoc.cpp
new file mode 100644 (file)
index 0000000..b52a0ac
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventManifestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CEventManifestDoc.cpp
new file mode 100644 (file)
index 0000000..4136054
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..ff53393
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CManifestDoc.cpp
new file mode 100644 (file)
index 0000000..c6ffe26
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderEventResponseDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderEventResponseDoc.cpp
new file mode 100644 (file)
index 0000000..97f5a32
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderResponseDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CProviderResponseDoc.cpp
new file mode 100644 (file)
index 0000000..1d3fb87
--- /dev/null
@@ -0,0 +1,85 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseDoc.cpp
new file mode 100644 (file)
index 0000000..f97326e
--- /dev/null
@@ -0,0 +1,85 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseHeaderDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/CResponseHeaderDoc.cpp
new file mode 100644 (file)
index 0000000..0e0a286
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/ResponseDoc/stdafx.h
new file mode 100644 (file)
index 0000000..f0f88e2
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassDoc.cpp
new file mode 100644 (file)
index 0000000..1eaa21b
--- /dev/null
@@ -0,0 +1,84 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..8262268
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CActionClassInstanceDoc.cpp
new file mode 100644 (file)
index 0000000..a40040e
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassCardinalityDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassCardinalityDoc.cpp
new file mode 100644 (file)
index 0000000..a70d649
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassFieldDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassFieldDoc.cpp
new file mode 100644 (file)
index 0000000..32b9294
--- /dev/null
@@ -0,0 +1,63 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassIdentifierDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassIdentifierDoc.cpp
new file mode 100644 (file)
index 0000000..7161d89
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassInstancePropertyDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassInstancePropertyDoc.cpp
new file mode 100644 (file)
index 0000000..412cce1
--- /dev/null
@@ -0,0 +1,86 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassPropertyDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CClassPropertyDoc.cpp
new file mode 100644 (file)
index 0000000..9880fcc
--- /dev/null
@@ -0,0 +1,140 @@
+/*
+ *  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;
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlMetadataDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlMetadataDoc.cpp
new file mode 100644 (file)
index 0000000..5ff36f7
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlUnionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCmdlUnionDoc.cpp
new file mode 100644 (file)
index 0000000..ddb71c3
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCollectMethodDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CCollectMethodDoc.cpp
new file mode 100644 (file)
index 0000000..b2155d2
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassDoc.cpp
new file mode 100644 (file)
index 0000000..e59bc31
--- /dev/null
@@ -0,0 +1,99 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..7991350
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassInstanceDoc.cpp
new file mode 100644 (file)
index 0000000..76d99f7
--- /dev/null
@@ -0,0 +1,84 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassPropertyDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassPropertyDoc.cpp
new file mode 100644 (file)
index 0000000..edd1fee
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassSubInstanceDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CDataClassSubInstanceDoc.cpp
new file mode 100644 (file)
index 0000000..06c5249
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationCollectionDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationCollectionDoc.cpp
new file mode 100644 (file)
index 0000000..c197685
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceOperationDoc.cpp
new file mode 100644 (file)
index 0000000..c7f9b1c
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceParameterDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CInstanceParameterDoc.cpp
new file mode 100644 (file)
index 0000000..50cbae3
--- /dev/null
@@ -0,0 +1,92 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CJoinTypeDoc.cpp
new file mode 100644 (file)
index 0000000..8950dae
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ *  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;
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CLogicalRelationshipDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CLogicalRelationshipDoc.cpp
new file mode 100644 (file)
index 0000000..0b1839d
--- /dev/null
@@ -0,0 +1,91 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodDoc.cpp
new file mode 100644 (file)
index 0000000..dd1e030
--- /dev/null
@@ -0,0 +1,91 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodParameterDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CMethodParameterDoc.cpp
new file mode 100644 (file)
index 0000000..5a5a24a
--- /dev/null
@@ -0,0 +1,86 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CPhysicalRelationshipDoc.cpp
new file mode 100644 (file)
index 0000000..a837b22
--- /dev/null
@@ -0,0 +1,84 @@
+/*
+ *  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;
+}
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CRelationshipDoc.cpp b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/CRelationshipDoc.cpp
new file mode 100644 (file)
index 0000000..62c6e8d
--- /dev/null
@@ -0,0 +1,85 @@
+/*
+ *  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;
+}
+
+
+
+
+
+
diff --git a/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/stdafx.h b/open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/SchemaTypesDoc/stdafx.h
new file mode 100644 (file)
index 0000000..64caeaa
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ *  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_ */
index 289910fc84f5af43e75b7a86314527f0a0da717d..c6b0390ae5b532cc86e5a614ab167a4c2c253963 100644 (file)
@@ -331,23 +331,25 @@ public:
         }
 #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
index 06e8559328a4ab2dc82898e0aadf223cb422e2d9..1075f6c0a61a029e1c77981b9f8dc01f46fae654 100644 (file)
@@ -100,6 +100,11 @@ int32 main(int32 argc, char** argv) {
                _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);
index 3981bdb27d5984e2889cac2dd9537012e7d83a93..12343123dab1eb6edc610cf5da256c0f2ad3f231 100644 (file)
@@ -76,6 +76,9 @@ SmartPtrCPersistenceDoc CConfigEnv::getUpdated(
        if (FileSystemUtils::doesFileExist(_listenerConfiguredStage1Path)) {
                if (_persistence.IsNull()) {
                        _persistence = CPersistenceUtils::loadPersistence(_persistenceDir);
+                       if (FileSystemUtils::doesFileExist(_listenerConfiguredStage2Path)) {
+                               _persistenceUpdated = _persistence;
+                       }
                }
 
                const SmartPtrCPersistenceDoc persistenceTmp =