Cumulia Illustrator Rendering Engine v1.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Int16Array Class Referencefinal

#include <typedarray.h>

Inheritance diagram for cil::Int16Array:
cil::TypedArray< short > cil::ArrayBuffer cil::Variant

Public Member Functions

 Int16Array (int size=0, short *data=nullptr, bool copy=true)
 
 Int16Array (const std::initializer_list< short > &array)
 
- Public Member Functions inherited from cil::TypedArray< short >
 TypedArray ()
 
virtual ~TypedArray ()
 
const short & operator[] (int index) const
 
short & operator[] (int index)
 
void set (int size, short *data=nullptr, bool copy=true)
 
void clear ()
 
int size () const
 
short * data ()
 
const short * data () const
 
- Public Member Functions inherited from cil::ArrayBuffer
 ArrayBuffer ()
 
virtual ~ArrayBuffer ()
 
- Public Member Functions inherited from cil::Variant
 Variant ()
 
virtual ~Variant ()
 
const std::string & type () const
 

Additional Inherited Members

- Protected Attributes inherited from cil::TypedArray< short >
short * m_data
 
int m_size
 
- Protected Attributes inherited from cil::Variant
std::string m_type
 

Constructor & Destructor Documentation

◆ Int16Array() [1/2]

cil::Int16Array::Int16Array ( int size = 0,
short * data = nullptr,
bool copy = true )

◆ Int16Array() [2/2]

cil::Int16Array::Int16Array ( const std::initializer_list< short > & array)