CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CNORXZ::DType Class Reference

#include <dtype.h>

Public Member Functions

 DEFAULT_MEMBERS (DType)
 
template<typename T >
 DType (const T &d)
 
template<typename T >
DTypeoperator= (const T &d)
 
String str () const
 
const std::any & get () const
 
bool operator== (const DType &a) const
 
bool operator!= (const DType &a) const
 
bool operator< (const DType &a) const
 
bool operator> (const DType &a) const
 
bool operator<= (const DType &a) const
 
bool operator>= (const DType &a) const
 

Detailed Description


Type erasing class wrapping std::any

Definition at line 31 of file dtype.h.

Constructor & Destructor Documentation

◆ DType()

template<typename T >
CNORXZ::DType::DType ( const T & d)

Generic constructor template

Constructs a DType from the given argument

Template Parameters
Tinput data type
Parameters
dinput

Definition at line 27 of file dtype.cc.h.

Member Function Documentation

◆ DEFAULT_MEMBERS()

CNORXZ::DType::DEFAULT_MEMBERS ( DType )

default constructors and assignments

◆ get()

const std::any & CNORXZ::DType::get ( ) const
inline

return reference to type-erased data

Definition at line 69 of file dtype.h.

◆ operator!=()

bool CNORXZ::DType::operator!= ( const DType & a) const
inline

check for inequality

Parameters
avariable to compare with

Definition at line 79 of file dtype.h.

◆ operator<()

bool CNORXZ::DType::operator< ( const DType & a) const
inline

check smaller

Parameters
avariable to compare with

Definition at line 84 of file dtype.h.

◆ operator<=()

bool CNORXZ::DType::operator<= ( const DType & a) const
inline

check not greater

Parameters
avariable to compare with

Definition at line 94 of file dtype.h.

◆ operator=()

template<typename T >
DType & CNORXZ::DType::operator= ( const T & d)

Generic assignment template

Assigns the given argument to the DType

Template Parameters
Tinput data type
Parameters
dinput

Definition at line 34 of file dtype.cc.h.

◆ operator==()

bool CNORXZ::DType::operator== ( const DType & a) const
inline

check for equality

Parameters
avariable to compare with

Definition at line 74 of file dtype.h.

◆ operator>()

bool CNORXZ::DType::operator> ( const DType & a) const
inline

check greater

Parameters
avariable to compare with

Definition at line 89 of file dtype.h.

◆ operator>=()

bool CNORXZ::DType::operator>= ( const DType & a) const
inline

check not smaller

Parameters
avariable to compare with

Definition at line 99 of file dtype.h.

◆ str()

String CNORXZ::DType::str ( ) const
inline

convert contained data so string

Definition at line 66 of file dtype.h.


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