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

#include <index_format.h>

Public Types

typedef Vector< UPosInputType
 

Public Member Functions

 DEFAULT_MEMBERS (YFormat)
 
 YFormat (const Vector< UPos > &b)
 
template<class FormatT >
 YFormat (const FormatT &f)
 
const Vector< UPos > & all () const
 
SizeT size () const
 
template<SizeT I>
const UPosget (CSizeT< I > i) const
 
template<SizeT I>
const UPosoperator[] (CSizeT< I > i) const
 
const UPosget (SizeT i) const
 
const UPosoperator[] (SizeT i) const
 

Detailed Description


Multi index format of variable size Wrapper of standard vector of UPos.

Definition at line 148 of file index_format.h.

Member Typedef Documentation

◆ InputType

Definition at line 151 of file index_format.h.

Constructor & Destructor Documentation

◆ YFormat() [1/2]

CNORXZ::YFormat::YFormat ( const Vector< UPos > & b)
explicit

Construct from vector.

Parameters
bInput vector.

Definition at line 16 of file index_format.cc.

◆ YFormat() [2/2]

template<class FormatT >
CNORXZ::YFormat::YFormat ( const FormatT & f)

Construct from format of arbitrary type.

Parameters
fInput format.

Definition at line 122 of file index_format.cc.h.

Member Function Documentation

◆ all()

const Vector< UPos > & CNORXZ::YFormat::all ( ) const

Get underlying vector.

Definition at line 20 of file index_format.cc.

◆ DEFAULT_MEMBERS()

CNORXZ::YFormat::DEFAULT_MEMBERS ( YFormat )

default constructors and assignments

◆ get() [1/2]

template<SizeT I>
const UPos & CNORXZ::YFormat::get ( CSizeT< I > i) const

Get format element.

Parameters
iCSizeT indicating static element position

Definition at line 136 of file index_format.cc.h.

◆ get() [2/2]

const UPos & CNORXZ::YFormat::get ( SizeT i) const

Get format element.

Parameters
iE element position

Definition at line 30 of file index_format.cc.

◆ operator[]() [1/2]

template<SizeT I>
const UPos & CNORXZ::YFormat::operator[] ( CSizeT< I > i) const

Get format element.

Parameters
iCSizeT indicating static element position

Definition at line 142 of file index_format.cc.h.

◆ operator[]() [2/2]

const UPos & CNORXZ::YFormat::operator[] ( SizeT i) const

Get format element.

Parameters
iE element position

Definition at line 35 of file index_format.cc.

◆ size()

SizeT CNORXZ::YFormat::size ( ) const

Get format size.

Definition at line 25 of file index_format.cc.


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