Atoms Crowd  4.1.0
AtomsCore::BaseTypedArrayMetadata Class Referenceabstract
Inheritance diagram for AtomsCore::BaseTypedArrayMetadata:
AtomsCore::Metadata AtomsCore::TypedArrayMetadata< T >

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< Metadataclone () const =0
 clone object More...
 
virtual size_t memSize () const =0
 Memory size.
 
virtual AtomsPtr< MetadatagetBasicTypeMetadata (size_t index) const =0
 
virtual void getBasicTypeMetadataInPlace (size_t index, AtomsPtr< Metadata > &OutMeta) const =0
 
virtual AtomsPtr< MetadatagetBlendedBasicTypeMetadata (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< MetadatagetDoubleBlendedBasicTypeMetadata (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.
 

Member Function Documentation

◆ clone()

virtual AtomsPtr<Metadata> AtomsCore::BaseTypedArrayMetadata::clone ( ) 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 >.

◆ copy()

virtual void AtomsCore::BaseTypedArrayMetadata::copy ( Metadata )
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 >.

◆ typeId()

virtual unsigned int AtomsCore::BaseTypedArrayMetadata::typeId ( ) const
pure virtual

Type id.

Used as replace to the RTTI to get the class name in the derived classes

Returns
Class type id

Implements AtomsCore::Metadata.

Implemented in AtomsCore::TypedArrayMetadata< T >.

◆ typeStr()

virtual std::string AtomsCore::BaseTypedArrayMetadata::typeStr ( ) const
pure virtual

Type string.

Used as a replace to the RTTI to get the class name in the derived classes

Returns
Class type string

Implements AtomsCore::Metadata.

Implemented in AtomsCore::TypedArrayMetadata< T >.


The documentation for this class was generated from the following file: