Atoms Crowd
4.1.0
|
Public Member Functions | |
virtual std::string | typeStr () const =0 |
Type string. More... | |
virtual unsigned int | typeId () const =0 |
Type id. More... | |
virtual std::string | basicTypeStr () const =0 |
Type string. | |
BaseTypedArrayMetadata () | |
constructor | |
virtual | ~BaseTypedArrayMetadata ()=0 |
Virtual destructor. | |
virtual void | copy (Metadata *)=0 |
copy value More... | |
virtual AtomsPtr< Metadata > | clone () const =0 |
clone object More... | |
virtual size_t | memSize () const =0 |
Memory size. | |
virtual AtomsPtr< Metadata > | getBasicTypeMetadata (size_t index) const =0 |
virtual void | getBasicTypeMetadataInPlace (size_t index, AtomsPtr< Metadata > &OutMeta) const =0 |
virtual AtomsPtr< Metadata > | getBlendedBasicTypeMetadata (size_t index1, size_t index2, const double weight) const =0 |
virtual void | getBlendedBasicTypeMetadataInPlace (size_t index1, size_t index2, const double weight, AtomsPtr< Metadata > &OutMeta) const =0 |
virtual AtomsPtr< Metadata > | getDoubleBlendedBasicTypeMetadata (size_t index11, size_t index12, const double weight1, size_t index21, size_t index22, const double weight2, const double finalWeight) const =0 |
virtual void | getDoubleBlendedBasicTypeMetadataInPlace (size_t index11, size_t index12, const double weight1, size_t index21, size_t index22, const double weight2, const double finalWeight, AtomsPtr< Metadata > &OutMeta) const =0 |
virtual void | hash (MurmurHash3 &hasher) const =0 |
Hash function. | |
virtual size_t | size () const =0 |
virtual void | reverse ()=0 |
Revers the vector. | |
virtual bool | isStatic () const =0 |
Return true if the vector contains the same value for each entry. | |
virtual bool | isArray () const |
virtual bool | serialise (Archive &outStream) const =0 |
Serialise. | |
virtual bool | deserialise (Archive &inStream)=0 |
Deserialise. | |
virtual void | toString (std::stringstream &ss) const =0 |
String conversion. | |
Public Member Functions inherited from AtomsCore::Metadata | |
Metadata () | |
constructor | |
virtual | ~Metadata ()=0 |
Virtual destructor. | |
virtual bool | setWithValuesAndWeights (const std::vector< AtomsPtr< Metadata >> &values, const std::vector< double > &weights) |
Set with weighted values. | |
virtual bool | setWithValuesAndWeights (const std::vector< Metadata * > &values, const std::vector< double > &weights) |
virtual bool | isEqual (Metadata *right, double err=0.0) const |
Equal function. | |
virtual bool | isGreater (Metadata *right) const |
virtual bool | isLess (Metadata *right) const |
|
pure virtual |
clone object
Clone the obj. It returns a shared pointer to the new allocated object
Implements AtomsCore::Metadata.
Implemented in AtomsCore::TypedArrayMetadata< T >.
|
pure virtual |
copy value
Virtual function to copy the value from one typed array metadata to another using base pointer.
Implements AtomsCore::Metadata.
Implemented in AtomsCore::TypedArrayMetadata< T >.
|
pure virtual |
Type id.
Used as replace to the RTTI to get the class name in the derived classes
Implements AtomsCore::Metadata.
Implemented in AtomsCore::TypedArrayMetadata< T >.
|
pure virtual |
Type string.
Used as a replace to the RTTI to get the class name in the derived classes
Implements AtomsCore::Metadata.
Implemented in AtomsCore::TypedArrayMetadata< T >.