OEStructureMetadata¶
Attention
This API is currently available in C++ and Python.
class OEStructureMetadata
This class stores structural information used in design unit preparation within the OEMakeDesignUnits
function.
Constructors¶
OEStructureMetadata()=default
OEStructureMetadata(const OEStructureMetadata &)=default
OEStructureMetadata(const std::vector<OEHeterogenMetadata> &hetData)
OEStructureMetadata(const std::vector<OEHeterogenMetadata> &hetData,
const std::vector<OESequenceMetadata> &seqData)
Default, copy, and advanced constructor that constructs an OEStructureMetadata object. The advanced constructor takes a combination of two separate data classes as arguments: a class that stores the structural metadata (OEStructureMetadata), and a class that stores the heterogen metadata (OEHeterogenMetadata). A separate overload that takes a std::vector of each of those data classes is also available.
AddHeterogenMetadata¶
void AddHeterogenMetadata(const OEHeterogenMetadata &hetData)
void AddHeterogenMetadata(const std::vector<OEHeterogenMetadata> &hetData)
Adds the heterogen metadata (OEHeterogenMetadata) as a single object or as a std::vector of objects.
AddKeywords¶
void AddKeywords(const std::vector<std::string> keywords)
Adds a std::vector of string keywords.
AddSequenceMetadata¶
void AddSequenceMetadata(const OESequenceMetadata &seqData)
void AddSequenceMetadata(const std::vector<OESequenceMetadata> &seqData)
Adds the sequence metadata (OESequenceMetadata) as a single object or as a std::vector of objects.
GetExperimentDate¶
std::string GetExperimentDate() const
Returns the string version of the experiment date.
GetExperimentType¶
unsigned GetExperimentType() const
Returns the experiment type as defined by the OEExperimentType
namespace.
GetHeterogenMetadata¶
std::vector<OEHeterogenMetadata> &GetHeterogenMetadata()
const std::vector<OEHeterogenMetadata> &GetHeterogenMetadata() const
Returns a reference to the std::vector of stored heterogen metadata (OEHeterogenMetadata) objects.
GetIridiumData¶
OEBio::OEIridiumData &GetIridiumData()
const OEBio::OEIridiumData &GetIridiumData() const
Returns a reference to the Iridium data (OEIridiumData) object.
GetKeywords¶
std::vector<std::string> &GetKeywords()
const std::vector<std::string> &GetKeywords() const
Returns a reference to the vector of keyword strings.
GetRevisionDate¶
std::string GetRevisionDate() const
Returns the string version of the revision date.
GetSequenceMetadata¶
std::vector<OESequenceMetadata> &GetSequenceMetadata()
const std::vector<OESequenceMetadata> &GetSequenceMetadata() const
SetExperimentDate¶
void SetExperimentDate(const std::string exptDate)
Sets the string version of the experiment date.
SetExperimentType¶
void SetExperimentType(unsigned exprType)
Sets the experiment type as defined by the OEExperimentType
namespace.
SetIridiumData¶
void SetIridiumData(const OEBio::OEIridiumData &iridData)
Sets the Iridium data from an OEIridiumData object.
SetRevisionDate¶
void SetRevisionDate(const std::string revDate)
Sets the string version of the revision date.
SetStructureID¶
void SetStructureID(const std::string structureID)
Sets the string version of the structure’s ID.