Developer Documentation
SplatCloud::CloudPropertyT< T > Class Template Reference

#include <Type-SplatCloud/ObjectTypes/SplatCloud/SplatCloud/SplatCloud.hh>

Inheritance diagram for SplatCloud::CloudPropertyT< T >:
SplatCloud::CloudPropertyInterface

Public Types

typedef T Value
 Value type. More...
 
typedef T & Reference
 These are references to T, not to CloudPropertyT<T>. More...
 
typedef const T & ConstReference
 These are used only out of a consistency reason to the class SplatPropertyT<T>. More...
 

Public Member Functions

 CloudPropertyT (const PropertyHandleT< T > &_handle)
 Constructor. More...
 
Reference data ()
 Access the data as reference. More...
 
ConstReference data () const
 Access the data as const reference. More...
 
virtual size_t sizeOf () const override
 Get the size of type. More...
 
virtual const std::type_info & typeId () const override
 Get the runtime type information. More...
 
virtual size_t sizeOf () const =0
 Get the size of type. More...
 
virtual const std::type_info & typeId () const =0
 Get the runtime type information. More...
 

Private Member Functions

virtual ~CloudPropertyT ()
 Destructor. More...
 
virtual CloudPropertyTclone () const override
 Return a deep copy of this. More...
 
void operator= (const CloudPropertyT< T > &)=delete
 Disallow the assign operator. (private and not implemented)
 

Private Attributes

data_
 The actual stored data. More...
 

Friends

class SplatCloud
 Let class SplatCloud access methods like clone(). More...
 

Detailed Description

template<typename T>
class SplatCloud::CloudPropertyT< T >

Type specific class for cloud-properties

Definition at line 324 of file SplatCloud.hh.

Member Typedef Documentation

◆ ConstReference

template<typename T >
typedef const T& SplatCloud::CloudPropertyT< T >::ConstReference

These are used only out of a consistency reason to the class SplatPropertyT<T>.

Definition at line 330 of file SplatCloud.hh.

◆ Reference

template<typename T >
typedef T& SplatCloud::CloudPropertyT< T >::Reference

These are references to T, not to CloudPropertyT<T>.

Definition at line 329 of file SplatCloud.hh.

◆ Value

template<typename T >
typedef T SplatCloud::CloudPropertyT< T >::Value

Value type.

Definition at line 328 of file SplatCloud.hh.

Constructor & Destructor Documentation

◆ CloudPropertyT()

template<typename T >
SplatCloud::CloudPropertyT< T >::CloudPropertyT ( const PropertyHandleT< T > &  _handle)
inlineexplicit

Constructor.

Definition at line 332 of file SplatCloud.hh.

◆ ~CloudPropertyT()

template<typename T >
virtual SplatCloud::CloudPropertyT< T >::~CloudPropertyT ( )
inlineprivatevirtual

Destructor.

Definition at line 339 of file SplatCloud.hh.

Member Function Documentation

◆ clone()

template<typename T >
virtual CloudPropertyT * SplatCloud::CloudPropertyT< T >::clone ( ) const
inlineoverrideprivatevirtual

Return a deep copy of this.

Implements SplatCloud::CloudPropertyInterface.

Definition at line 340 of file SplatCloud.hh.

◆ data() [1/2]

template<typename T >
Reference SplatCloud::CloudPropertyT< T >::data ( )
inline

Access the data as reference.

Definition at line 333 of file SplatCloud.hh.

◆ data() [2/2]

template<typename T >
ConstReference SplatCloud::CloudPropertyT< T >::data ( ) const
inline

Access the data as const reference.

Definition at line 334 of file SplatCloud.hh.

◆ sizeOf()

template<typename T >
virtual size_t SplatCloud::CloudPropertyT< T >::sizeOf ( ) const
inlineoverridevirtual

Get the size of type.

Implements SplatCloud::CloudPropertyInterface.

Definition at line 336 of file SplatCloud.hh.

◆ typeId()

template<typename T >
virtual const std::type_info & SplatCloud::CloudPropertyT< T >::typeId ( ) const
inlineoverridevirtual

Get the runtime type information.

Implements SplatCloud::CloudPropertyInterface.

Definition at line 337 of file SplatCloud.hh.

Friends And Related Function Documentation

◆ SplatCloud

template<typename T >
friend class SplatCloud
friend

Let class SplatCloud access methods like clone().

Definition at line 326 of file SplatCloud.hh.

Member Data Documentation

◆ data_

template<typename T >
T SplatCloud::CloudPropertyT< T >::data_
private

The actual stored data.

Definition at line 344 of file SplatCloud.hh.


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