MatrixBerryCore
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
mxberry::core::type::NestedArrayType Class Reference
Inheritance diagram for mxberry::core::type::NestedArrayType:
Inheritance graph
[legend]
Collaboration diagram for mxberry::core::type::NestedArrayType:
Collaboration graph
[legend]

Public Member Functions

function isIncludedInto (in self, in obj)
 
function toClassName (in self)
 
function toTypeSequenceString (in self)
 
function isContainedInCellType (in self)
 
function isCellTypeContained (in ignoredArg)
 
function struct (in self)
 
function setFromValue (in self, in value)
 
function classname2typeinfo (in classNameList)
 CLASSNAME2TYPEINFO translates built-in class names into STypeInfo definitions. More...
 
function generatetypeinfostruct (in value)
 GENERATETYPEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type of input array. More...
 
function updateinternal (in level, in className)
 
function generateinternal (in value, in level)
 
function loadobj (in obj)
 
function typeinfo2classname (in STypeInfo)
 
- Public Member Functions inherited from mxberry::core::type::ANestedArrayType
function createDefaultArray (in self, in sizeInpVec)
 
function getDepth (in self)
 
function getTypeName (in self)
 
function isEmptyTypeSet (in self)
 
function isCompleteTypeSet (in self)
 
function disp (in self)
 
function isequal (in self, in obj)
 
function eq (in self, in obj)
 
function ne (in self, in obj)
 
function createarraybytypeinfo (in STypeInfo, in sizeVec)
 CREATEARRAYBYTYPEINFO creates an array of STypeInfo structure. More...
 
function createnestedcell (in depth)
 

Static Public Member Functions

static function fromClassName (in classNameList)
 fromClassName translates built-in class names into STypeInfo definitions More...
 
static function fromStruct (in SInp)
 
static function fromClassNameArray (in classNameListCArray)
 
static function fromValue (in value)
 
static function fromValueArray (in valueArray)
 

Protected Member Functions

function getValueTypeStruct (in self)
 
function NestedArrayType (in varargin)
 
- Protected Member Functions inherited from mxberry::core::type::ANestedArrayType
function isEqual (in self, in obj)
 
function throwCannotDetermineIfIncludedIntoException (in self)
 

Static Protected Member Functions

static function isMe (in obj)
 

Protected Attributes

Property typeInfo
 

Private Member Functions

function toStruct (in self)
 

Detailed Description

Definition at line 2 of file NestedArrayType.m.

Constructor & Destructor Documentation

◆ NestedArrayType()

function mxberry::core::type::NestedArrayType::NestedArrayType ( in  varargin)
protected

Member Function Documentation

◆ classname2typeinfo()

function mxberry::core::type::NestedArrayType::classname2typeinfo ( in  classNameList)

CLASSNAME2TYPEINFO translates built-in class names into STypeInfo definitions.

*  Input:
*    classNameList: char/cell[1,nNestedLevels]
* 
*  Output:
*    STypeInfo: struct[1,1] - type information
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ fromClassName()

static function mxberry::core::type::NestedArrayType::fromClassName ( in  classNameList)
static

fromClassName translates built-in class names into STypeInfo definitions

*  Input:
*    classNameList: char/cell[1,nNestedLevels]
* 
*  Output:
*    STypeInfo: struct[1,1] - type information
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ fromClassNameArray()

static function mxberry::core::type::NestedArrayType::fromClassNameArray ( in  classNameListCArray)
static

◆ fromStruct()

static function mxberry::core::type::NestedArrayType::fromStruct ( in  SInp)
static

◆ fromValue()

static function mxberry::core::type::NestedArrayType::fromValue ( in  value)
static

◆ fromValueArray()

static function mxberry::core::type::NestedArrayType::fromValueArray ( in  valueArray)
static

◆ generateinternal()

function mxberry::core::type::NestedArrayType::generateinternal ( in  value,
in  level 
)

◆ generatetypeinfostruct()

function mxberry::core::type::NestedArrayType::generatetypeinfostruct ( in  value)

GENERATETYPEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type of input array.

*  Input: value - array of any type
* 
*  Output:
*    isUniform: logical[1,1]
* 
*    STypeInfo struct[1,1] containing type information for input
*       array, contains the following fields
* 
*       type: char[1,] type of value at the bottom of cell array
*       depth: numeric[1,1] - depth of cell array
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ getValueTypeStruct()

function mxberry::core::type::NestedArrayType::getValueTypeStruct ( in  self)
protectedvirtual

◆ isCellTypeContained()

function mxberry::core::type::NestedArrayType::isCellTypeContained ( in  ignoredArg)
virtual

◆ isContainedInCellType()

function mxberry::core::type::NestedArrayType::isContainedInCellType ( in  self)
virtual

◆ isIncludedInto()

function mxberry::core::type::NestedArrayType::isIncludedInto ( in  self,
in  obj 
)
virtual

◆ isMe()

static function mxberry::core::type::NestedArrayType::isMe ( in  obj)
staticprotected

◆ loadobj()

function mxberry::core::type::NestedArrayType::loadobj ( in  obj)
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ setFromValue()

function mxberry::core::type::NestedArrayType::setFromValue ( in  self,
in  value 
)

◆ struct()

function mxberry::core::type::NestedArrayType::struct ( in  self)

◆ toClassName()

function mxberry::core::type::NestedArrayType::toClassName ( in  self)
virtual

◆ toStruct()

function mxberry::core::type::NestedArrayType::toStruct ( in  self)
private

◆ toTypeSequenceString()

function mxberry::core::type::NestedArrayType::toTypeSequenceString ( in  self)
virtual

◆ typeinfo2classname()

function mxberry::core::type::NestedArrayType::typeinfo2classname ( in  STypeInfo)
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ updateinternal()

function mxberry::core::type::NestedArrayType::updateinternal ( in  level,
in  className 
)

Member Data Documentation

◆ typeInfo

Property mxberry::core::type::NestedArrayType::typeInfo
protected

Definition at line 7 of file NestedArrayType.m.


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