24 Info(
const std::string &name);
29 virtual const std::string
GetType()
const;
30 virtual const std::string
GetName()
const;
39 Info(
const std::shared_ptr<Representation> &impl) :
_repr{impl} {}
43 std::shared_ptr<Representation>
_repr;
std::shared_ptr< Representation > & GetRepresentation()
Definition: Info.h:40
Object version, e.g., "1.1" or "alpha1".
Definition: Info.h:34
Interface for retrieving informations about an object.
Definition: Info.h:18
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
Info(const std::string &name)
Constructor.
Definition: Info.cpp:17
virtual const std::string GetName() const
The type (i.e. class) of the object.
Definition: Info.cpp:26
virtual const std::string GetVersion() const
The name of the object.
Definition: Info.cpp:29
virtual const std::string GetType() const
Definition: Info.cpp:23
std::shared_ptr< Representation > _repr
Definition: Info.h:43
std::string name
Definition: Info.h:36
virtual ~Info()
Destructor.
Definition: Info.cpp:20
Info(const std::shared_ptr< Representation > &impl)
Definition: Info.h:39