AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
agxData::Data Class Reference

Generic data. More...

#include <Data.h>

+ Inheritance diagram for agxData::Data:

Public Member Functions

 Data (void *ptr=nullptr)
 
AbstractArrayasArray ()
 
template<typename T >
Array< T > & asArray ()
 
const AbstractArrayasArray () const
 
template<typename T >
const Array< T > & asArray () const
 
AbstractScalarasScalar ()
 
template<typename T >
Scalar< T > & asScalar ()
 
const AbstractScalarasScalar () const
 
template<typename T >
const Scalar< T > & asScalar () const
 
void * ptr ()
 
const void * ptr () const
 

Protected Attributes

void * m_ptr
 

Detailed Description

Generic data.

Definition at line 39 of file Data.h.

Constructor & Destructor Documentation

◆ Data()

agxData::Data::Data ( void *  ptr = nullptr)

Definition at line 81 of file Data.h.

Member Function Documentation

◆ asArray() [1/4]

AbstractArray & agxData::Data::asArray ( )

Definition at line 616 of file Buffer.h.

◆ asArray() [2/4]

template<typename T >
Array< T > & agxData::Data::asArray

Definition at line 620 of file Buffer.h.

◆ asArray() [3/4]

const AbstractArray & agxData::Data::asArray ( ) const

Definition at line 617 of file Buffer.h.

◆ asArray() [4/4]

template<typename T >
const Array< T > & agxData::Data::asArray

Definition at line 623 of file Buffer.h.

◆ asScalar() [1/4]

AbstractScalar & agxData::Data::asScalar ( )

Definition at line 91 of file Scalar.h.

◆ asScalar() [2/4]

template<typename T >
Scalar< T > & agxData::Data::asScalar

Definition at line 95 of file Scalar.h.

◆ asScalar() [3/4]

const AbstractScalar & agxData::Data::asScalar ( ) const

Definition at line 92 of file Scalar.h.

◆ asScalar() [4/4]

template<typename T >
const Scalar< T > & agxData::Data::asScalar

Definition at line 98 of file Scalar.h.

◆ ptr() [1/2]

void * agxData::Data::ptr ( )
Returns
A pointer to the raw data.

Definition at line 84 of file Data.h.

References m_ptr.

Referenced by agxData::Value::get(), agxData::Value::isValid(), agxData::Value::ptr(), and agxData::Value::transform().

◆ ptr() [2/2]

const void * agxData::Data::ptr ( ) const

Definition at line 85 of file Data.h.

References m_ptr.

Member Data Documentation

◆ m_ptr


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