|
dxFeed Graal CXX API v5.0.0
|
Describes a single attribute with all values as defined in the ISO 10962 standard. More...
#include <CFI.hpp>
Inheritance diagram for CFI::Attribute:Public Types | |
| using | Ptr = std::shared_ptr<Attribute> |
| The alias to a type of shared pointer to the Attribute object. | |
| using | Unique = std::unique_ptr<Attribute> |
| The alias to a type of unique pointer to the Attribute object. | |
Public Types inherited from SharedEntity | |
| using | Ptr = std::shared_ptr<SharedEntity> |
| The alias to a type of shared pointer to the SharedEntity object. | |
Public Member Functions | |
| std::string | getName () const |
| Returns a short name of this attribute. | |
| std::string | getDescription () const |
| Returns a description of this attribute. | |
| std::vector< std::shared_ptr< CFI::Value > > | getValues () const |
| Returns values of this attribute. | |
| bool | operator== (const Attribute &other) const |
Returns true if this object is equal to other object. | |
| bool | operator== (const Attribute::Ptr &other) const |
Returns true if this object is equal to other object. | |
| std::size_t | hashCode () const noexcept |
| std::string | toString () const override |
| Returns a string representation of the current object. | |
Public Member Functions inherited from SharedEntity | |
| template<typename T> | |
| bool | is () const noexcept |
| Checks that the pointer to the current type could be converted to type T* In other words: whether type T belongs to the type hierarchy in which the current type resides. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () const noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T. | |
Public Member Functions inherited from Entity | |
| virtual | ~Entity () noexcept=default |
| The default virtual d-tor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from RequireMakeShared< Attribute > | |
| static auto | createShared (Args &&...args) |
| Creates a smart pointer to an object. | |
Describes a single attribute with all values as defined in the ISO 10962 standard.
| std::string CFI::Attribute::getDescription | ( | ) | const |
Returns a description of this attribute.
| std::string CFI::Attribute::getName | ( | ) | const |
Returns a short name of this attribute.
| std::vector< std::shared_ptr< CFI::Value > > CFI::Attribute::getValues | ( | ) | const |
Returns values of this attribute.
|
noexcept |
| bool CFI::Attribute::operator== | ( | const Attribute & | other | ) | const |
Returns true if this object is equal to other object.
| other | Another object |
true if this object is equal to other object
|
inline |
Returns true if this object is equal to other object.
| other | Another object |
true if this object is equal to other object
|
overridevirtual |
Returns a string representation of the current object.
Reimplemented from SharedEntity.