Skip to content

Inscoper::NBO::ReflectanceProfileFile

Represents the XML element ReflectanceProfileFile. More...

#include <ReflectanceProfileFile.h>

Inherits from Inscoper::NBO::FileAnnotation_Type, Inscoper::NBO::TypeAnnotation_Type, Inscoper::NBO::Annotation_Type, NBOBaseClass

Public Functions

Name
ReflectanceProfileFile()
~ReflectanceProfileFile()
std::string getTypeName() const override
Returns the class type name.
std::string getXMLName() const override
Returns the XML element name corresponding to this class.
ENBOType getNBOType() const override
Returns the NBO Type corresponding to this class.
std::vector< NBOBaseClassPtr > getChildren() const override
Returns a list of all classes derived from this class.
std::vector< NBOBaseClassPtr > getSubElements() const override
Returns a list of all child elements contained in this class.
void fromJsonFile(const std::string & path, bool validate =true)
Populates this object from a JSON file.
void fromJsonString(const std::string & json_string, bool validate =true)
Populates this object from a JSON string.
void fromXmlFile(const std::string & path, bool validate =true)
Populates this object from a XML file.
void fromXmlString(const std::string & xml_string, bool validate =true)
Populates this object from a XML string.
void toXmlFile(const std::string & filename, bool validate =true) const
Serializes this object to an XML file.
std::string toXmlString(bool validate =true) const
Serializes this object to an XML string.
std::shared_ptr< ReflectanceProfileFile > fromBase(NBOBaseClassPtr base)
Cast a NBOBaseClass to a ReflectanceProfileFile.

Additional inherited members

Public Functions inherited from Inscoper::NBO::FileAnnotation_Type

Name
FileAnnotation_Type()
~FileAnnotation_Type()
void setBinaryFile(const Inscoper::NBO::BinaryFilePtr & value, bool validate =true)
Sets the value of the BinaryFile element.
Inscoper::NBO::BinaryFilePtr getBinaryFile() const
Returns the value of the BinaryFile element.
void resetBinaryFile()
Resets the BinaryFile element to an unset state.
bool hasBinaryFile() const
Checks whether the optional BinaryFile element is present.

Public Functions inherited from Inscoper::NBO::TypeAnnotation_Type

Name
TypeAnnotation_Type()
~TypeAnnotation_Type()

Public Classes inherited from Inscoper::NBO::Annotation_Type

Name
class InlineDescription
Represents the XML element Description.

Public Types inherited from Inscoper::NBO::Annotation_Type

Name
typedef std::shared_ptr< InlineDescription > InlineDescriptionPtr

Public Functions inherited from Inscoper::NBO::Annotation_Type

Name
Annotation_Type()
~Annotation_Type()
void setID(const Inscoper::NBO::AnnotationID_TypePtr & value, bool validate =true)
Sets the value of the ID attribute.
AnnotationID_TypePtr getID() const
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
bool hasID() const
Checks whether the optional ID attribute is present.
void setNamespace(const std::string & value, bool validate =true)
Sets the value of the Namespace attribute.
std::string getNamespace() const
Returns the value of the Namespace attribute.
void resetNamespace()
Resets the Namespace attribute to an unset state.
bool hasNamespace() const
Checks whether the Namespace attribute is present.
void setAnnotator(const Inscoper::NBO::ExperimenterID_TypePtr & value, bool validate =true)
Sets the value of the Annotator attribute.
ExperimenterID_TypePtr getAnnotator() const
Returns the value of the Annotator attribute.
void resetAnnotator()
Resets the Annotator attribute to an unset state.
bool hasAnnotator() const
Checks whether the optional Annotator attribute is present.
void setDescription(const Inscoper::NBO::Annotation_Type::InlineDescriptionPtr & value, bool validate =true)
Sets the value of the Description element.
Inscoper::NBO::Annotation_Type::InlineDescriptionPtr getDescription() const
Returns the value of the Description element.
void resetDescription()
Resets the Description element to an unset state.
bool hasDescription() const
Checks whether the optional Description element is present.
const std::set< std::string > & getNamespaceAllowedValues()
Returns the allowed values for this attribut.

Detailed Description

class Inscoper::NBO::ReflectanceProfileFile;

Represents the XML element ReflectanceProfileFile.

This element represents a file in .csv or other suitable formats containing the Reflectance profile of this optical component.

Public Functions Documentation

function ReflectanceProfileFile

function ~ReflectanceProfileFile

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonString

function fromXmlFile

function fromXmlString

function toXmlFile

function toXmlString

function fromBase