Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::DataArrayAsciiChar Class Reference
Inheritance diagram for MEDCoupling::DataArrayAsciiChar:
Collaboration diagram for MEDCoupling::DataArrayAsciiChar:

Public Member Functions

char asciiCharValue () const
 
DataArrayCharbuildEmptySpecializedDAChar () const
 
DataArrayAsciiCharbuildNewEmptyInstance () const
 
DataArrayAsciiChardeepCopy () const
 
bool isEqualIfNotWhy (const DataArrayChar &other, std::string &reason) const
 
DataArrayAsciiCharIteratoriterator ()
 
DataArrayAsciiCharperformCopyOrIncrRef (bool deepCopy) const
 
void reprCppStream (const std::string &varName, std::ostream &stream) const
 
void reprQuickOverview (std::ostream &stream) const
 
void reprQuickOverviewData (std::ostream &stream, std::size_t maxNbOfByteInRepr) const
 
void reprStream (std::ostream &stream) const
 
void reprWithoutNameStream (std::ostream &stream) const
 
void reprZipStream (std::ostream &stream) const
 
void reprZipWithoutNameStream (std::ostream &stream) const
 
- Public Member Functions inherited from MEDCoupling::DataArrayChar
MemArray< char > & accessToMemArray ()
 
const MemArray< char > & accessToMemArray () const
 
DataArrayIntconvertToIntArr () const
 
void fillWithZero ()
 
int findIdFirstEqual (char value) const
 
int findIdFirstEqual (const std::vector< char > &vals) const
 
int findIdFirstEqualTuple (const std::vector< char > &tupl) const
 
DataArrayIntfindIdsEqual (char val) const
 
int findIdSequence (const std::vector< char > &vals) const
 
DataArrayIntfindIdsInRange (char vmin, char vmax) const
 
DataArrayIntfindIdsNotEqual (char val) const
 
int getHashCode () const
 
void getTuple (int tupleId, char *res) const
 
template<class InputIterator >
void insertAtTheEnd (InputIterator first, InputIterator last)
 
bool isEqual (const DataArrayChar &other) const
 
bool isEqualWithoutConsideringStr (const DataArrayChar &other) const
 
bool isUniform (char val) const
 
DataArrayCharkeepSelectedComponents (const std::vector< int > &compoIds) const
 
void meldWith (const DataArrayChar *other)
 
bool presenceOfTuple (const std::vector< char > &tupl) const
 
bool presenceOfValue (char value) const
 
bool presenceOfValue (const std::vector< char > &vals) const
 
std::string repr () const
 
std::string reprZip () const
 
DataArrayCharselectByTupleId (const int *new2OldBg, const int *new2OldEnd) const
 
DataArrayCharselectByTupleId (const DataArrayInt &di) const
 
DataArrayCharselectByTupleIdSafe (const int *new2OldBg, const int *new2OldEnd) const
 
DataArrayCharselectByTupleIdSafeSlice (int bg, int end2, int step) const
 
DataArrayselectByTupleRanges (const std::vector< std::pair< int, int > > &ranges) const
 
void updateTime () const
 
- Public Member Functions inherited from MEDCoupling::DataArrayTemplate< char >
void alloc (std::size_t nbOfTuple, std::size_t nbOfCompo=1)
 
void allocIfNecessary (int nbOfTuple, int nbOfCompo)
 
char back () const
 
const char * begin () const
 
Traits< char >::ArrayType * changeNbOfComponents (int newNbOfComp, chardftValue) const
 
void checkAllocated () const
 
void circularPermutation (int nbOfShift=1)
 
void circularPermutationPerTuple (int nbOfShift=1)
 
void deepCopyFrom (const DataArrayTemplate< char > &other)
 
void desallocate ()
 
bool empty () const
 
const char * end () const
 
std::vector< MCAuto< typename
Traits< char >::ArrayTypeCh > > 
explodeComponents () const
 
void fillWithValue (charval)
 
char front () const
 
const char * getConstPointer () const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
char getIJ (int tupleId, int compoId) const
 
char getIJSafe (int tupleId, int compoId) const
 
char getMaxValue (int &tupleId) const
 
char getMaxValueInArray () const
 
char getMinValue (int &tupleId) const
 
char getMinValueInArray () const
 
std::size_t getNbOfElemAllocated () const
 
std::size_t getNbOfElems () const
 
int getNumberOfTuples () const
 
char * getPointer ()
 
void * getVoidStarPointer ()
 
bool isAllocated () const
 
void pack () const
 
char popBackSilent ()
 
void pushBackSilent (charval)
 
void pushBackValsSilent (const char *valsBg, const char *valsEnd)
 
void reAlloc (std::size_t newNbOfTuple)
 
void rearrange (int newNbOfCompo)
 
Traits< char >::ArrayType * renumber (const int *old2New) const
 
Traits< char >::ArrayType * renumberAndReduce (const int *old2New, int newNbOfTuple) const
 
void renumberInPlace (const int *old2New)
 
void renumberInPlaceR (const int *new2Old)
 
Traits< char >::ArrayType * renumberR (const int *new2Old) const
 
void reserve (std::size_t nbOfElems)
 
void reverse ()
 
void reversePerTuple ()
 
MCAuto< typename Traits< char >
::ArrayTypeCh > 
selectPartDef (const PartDefinition *pd) const
 
void setContigPartOfSelectedValues (int tupleIdStart, const DataArray *aBase, const DataArrayInt *tuplesSelec)
 
void setContigPartOfSelectedValuesSlice (int tupleIdStart, const DataArray *aBase, int bg, int end2, int step)
 
void setIJ (int tupleId, int compoId, charnewVal)
 
void setIJSilent (int tupleId, int compoId, charnewVal)
 
void setPartOfValues1 (const typename Traits< char >::ArrayType *a, int bgTuples, int endTuples, int stepTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true)
 
void setPartOfValues2 (const typename Traits< char >::ArrayType *a, const int *bgTuples, const int *endTuples, const int *bgComp, const int *endComp, bool strictCompoCompare=true)
 
void setPartOfValues3 (const typename Traits< char >::ArrayType *a, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true)
 
void setPartOfValues4 (const typename Traits< char >::ArrayType *a, int bgTuples, int endTuples, int stepTuples, const int *bgComp, const int *endComp, bool strictCompoCompare=true)
 
void setPartOfValuesAdv (const typename Traits< char >::ArrayType *a, const DataArrayInt *tuplesSelec)
 
void setPartOfValuesSimple1 (chara, int bgTuples, int endTuples, int stepTuples, int bgComp, int endComp, int stepComp)
 
void setPartOfValuesSimple2 (chara, const int *bgTuples, const int *endTuples, const int *bgComp, const int *endComp)
 
void setPartOfValuesSimple3 (chara, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp)
 
void setPartOfValuesSimple4 (chara, int bgTuples, int endTuples, int stepTuples, const int *bgComp, const int *endComp)
 
void sort (bool asc=true)
 
Traits< char >::ArrayType * subArray (int tupleIdBg, int tupleIdEnd=-1) const
 
void transpose ()
 
void useArray (const char *array, bool ownership, DeallocType type, int nbOfTuple, int nbOfCompo)
 
void useExternalArrayWithRWAccess (const char *array, int nbOfTuple, int nbOfCompo)
 
- Public Member Functions inherited from MEDCoupling::DataArray
bool areInfoEquals (const DataArray &other) const
 
bool areInfoEqualsIfNotWhy (const DataArray &other, std::string &reason) const
 
void checkNbOfComps (int nbOfCompo, const std::string &msg) const
 
void checkNbOfElems (std::size_t nbOfElems, const std::string &msg) const
 
void checkNbOfTuples (int nbOfTuples, const std::string &msg) const
 
void checkNbOfTuplesAndComp (const DataArray &other, const std::string &msg) const
 
void checkNbOfTuplesAndComp (int nbOfTuples, int nbOfCompo, const std::string &msg) const
 
void copyPartOfStringInfoFrom (const DataArray &other, const std::vector< int > &compoIds)
 
void copyPartOfStringInfoFrom2 (const std::vector< int > &compoIds, const DataArray &other)
 
void copyStringInfoFrom (const DataArray &other)
 
std::string cppRepr (const std::string &varName) const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
std::string getInfoOnComponent (int i) const
 
const std::vector< std::string > & getInfoOnComponents () const
 
std::vector< std::string > & getInfoOnComponents ()
 
std::string getName () const
 
std::size_t getNumberOfComponents () const
 
std::string getUnitOnComponent (int i) const
 
std::vector< std::string > getUnitsOnComponent () const
 
std::string getVarOnComponent (int i) const
 
std::vector< std::string > getVarsOnComponent () const
 
void setInfoAndChangeNbOfCompo (const std::vector< std::string > &info)
 
void setInfoOnComponent (int i, const std::string &info)
 
void setInfoOnComponents (const std::vector< std::string > &info)
 
void setName (const std::string &name)
 
void setPartOfValuesBase3 (const DataArray *aBase, const int *bgTuples, const int *endTuples, int bgComp, int endComp, int stepComp, bool strictCompoCompare=true)
 
- Public Member Functions inherited from MEDCoupling::TimeLabel
void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 

Static Public Member Functions

static DataArrayAsciiCharNew ()
 
static DataArrayAsciiCharNew (const std::string &st)
 
static DataArrayAsciiCharNew (const std::vector< std::string > &vst, char defaultChar)
 
- Static Public Member Functions inherited from MEDCoupling::DataArrayChar
static DataArrayCharAggregate (const DataArrayChar *a1, const DataArrayChar *a2)
 
static DataArrayCharAggregate (const std::vector< const DataArrayChar * > &arr)
 
static DataArrayCharMeld (const DataArrayChar *a1, const DataArrayChar *a2)
 
static DataArrayCharMeld (const std::vector< const DataArrayChar * > &arr)
 
- Static Public Member Functions inherited from MEDCoupling::DataArrayTemplate< char >
static MCAuto< typename Traits
< char >::ArrayTypeCh > 
NewFromStdVector (const typename std::vector< char > &v)
 
- Static Public Member Functions inherited from MEDCoupling::DataArray
static DataArrayAggregate (const std::vector< const DataArray * > &arrs)
 
static std::string BuildInfoFromVarAndUnit (const std::string &var, const std::string &unit)
 
static std::string GetAxisTypeRepr (MEDCouplingAxisType at)
 
static int GetNumberOfItemGivenBES (int begin, int end, int step, const std::string &msg)
 
static int GetNumberOfItemGivenBESRelative (int begin, int end, int step, const std::string &msg)
 
static int GetPosOfItemGivenBESRelativeNoThrow (int value, int begin, int end, int step)
 
static void GetSlice (int start, int stop, int step, int sliceId, int nbOfSlices, int &startSlice, int &stopSlice)
 
static std::string GetUnitFromInfo (const std::string &info)
 
static std::string GetVarNameFromInfo (const std::string &info)
 

Additional Inherited Members

- Protected Member Functions inherited from MEDCoupling::DataArrayChar
 DataArrayChar ()
 
- Static Protected Member Functions inherited from MEDCoupling::DataArray
static void CheckClosingParInRange (int ref, int value, const std::string &msg)
 
static void CheckValueInRange (int ref, int value, const std::string &msg)
 
static void CheckValueInRangeEx (int value, int start, int end, const std::string &msg)
 
static int EffectiveCircPerm (int nbOfShift, int nbOfTuples)
 
- Protected Attributes inherited from MEDCoupling::DataArrayTemplate< char >
MemArray< char > _mem
 

Member Function Documentation

static DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::New ( )
static
static DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::New ( const std::string &  st)
static
static DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::New ( const std::vector< std::string > &  vst,
char  defaultChar 
)
static
DataArrayChar* MEDCoupling::DataArrayAsciiChar::buildEmptySpecializedDAChar ( ) const
virtual
DataArrayAsciiCharIterator* MEDCoupling::DataArrayAsciiChar::iterator ( )
DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::deepCopy ( ) const
virtual
DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::performCopyOrIncrRef ( bool  deepCopy) const
DataArrayAsciiChar* MEDCoupling::DataArrayAsciiChar::buildNewEmptyInstance ( ) const
virtual

Implements MEDCoupling::DataArray.

References New().

char MEDCoupling::DataArrayAsciiChar::asciiCharValue ( ) const
void MEDCoupling::DataArrayAsciiChar::reprStream ( std::ostream &  stream) const
virtual
void MEDCoupling::DataArrayAsciiChar::reprZipStream ( std::ostream &  stream) const
virtual
void MEDCoupling::DataArrayAsciiChar::reprWithoutNameStream ( std::ostream &  stream) const
virtual

Reimplemented from MEDCoupling::DataArray.

void MEDCoupling::DataArrayAsciiChar::reprZipWithoutNameStream ( std::ostream &  stream) const
virtual
void MEDCoupling::DataArrayAsciiChar::reprCppStream ( const std::string &  varName,
std::ostream &  stream 
) const
virtual
void MEDCoupling::DataArrayAsciiChar::reprQuickOverview ( std::ostream &  stream) const
virtual
void MEDCoupling::DataArrayAsciiChar::reprQuickOverviewData ( std::ostream &  stream,
std::size_t  maxNbOfByteInRepr 
) const
virtual
bool MEDCoupling::DataArrayAsciiChar::isEqualIfNotWhy ( const DataArrayChar other,
std::string &  reason 
) const
virtual

Reimplemented from MEDCoupling::DataArrayChar.