1 #ifndef OpenTestSystem_Otx_Runtime_Api_DataTypes_Structure_H
2 #define OpenTestSystem_Otx_Runtime_Api_DataTypes_Structure_H
7 #include "Otx/Signature/IStructureSignature.h"
10 namespace OpenTestSystem {
namespace Otx {
namespace Runtime {
namespace Api {
namespace Otx {
19 class StructureElement;
28 std::string _signature;
30 std::string _specification;
31 std::weak_ptr<Otx::IDocument> _document;
33 const std::vector<std::shared_ptr<StructureElement>> _elements;
34 std::string GetNameFromFullName(std::string fullName);
44 const std::string &signature,
45 std::vector<std::shared_ptr<StructureElement>> elements,
46 std::shared_ptr<Otx::IDocument> document =
nullptr,
47 std::string specification =
"");
55 const std::vector<std::shared_ptr<StructureElement>>&
GetElements()
override;
Represents base of OTX DataTypes.
Definition: Object.h:17
Represents OTX Structure DataType.
Definition: Structure.h:26
std::shared_ptr< Otx::IDocument > GetDocument() override
Gets Document that contains the Signature.
std::string ToLiteralString() const override
Gets literal string.
std::string GetSpecification() override
Gets Signature specification.
Structure(const std::string &signature, std::vector< std::shared_ptr< StructureElement >> elements, std::shared_ptr< Otx::IDocument > document=nullptr, std::string specification="")
Initializes a new instance of the Structure class.
const std::vector< std::shared_ptr< StructureElement > > & GetElements() override
Gets all elements.
std::string GetName() override
Gets Signature name.
std::string GetFullName() override
Gets Signature full name.
std::string GetSignature() const
Gets full name of structure signature.
Represents an OTX Structure Signature.
Definition: IStructureSignature.h:19
Namespace for browsing at OTX signatures.
Definition: IDocument.h:18
Namespace containing all objects related to testing inside automotive industry