C++ mpi module for stochmagnet_main Package
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
CORE_Object Class Reference

abstract base class for most classes. More...

#include <CORE_Object.h>

Inheritance diagram for CORE_Object:
Inheritance graph
[legend]

Classes

class  Delete
 class Free introduced for deleting a smart pointer More...
 

Public Member Functions

template<class T >
std::shared_ptr< T > getSharedPointer ()
 return the shared pointer for this More...
 
template<class T >
std::shared_ptr< const T > getConstSharedPointer () const
 return a const shared pointer for this More...
 
virtual tMemSize getMemorySize () const
 return the memory size of the class and the memory size of all its attributes/associations More...
 
virtual tMemSize getContentsMemorySize () const
 return nthe memory size of the included associations More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tString getClassName () const
 return the name of the class More...
 
tString getPointerString () const
 retrun the pointer of the class as a string More...
 
tString getIdentityString () const
 retrun the string identification of the class More...
 
virtual tString toString () const
 return the string representation of the object node More...
 

Static Public Member Functions

static tBoolean EnableMemoryStack (const tBoolean &isMemoryChecked)
 enable the memory stack More...
 
static void EnableMemoryStack ()
 enable the memory stack
 
static void DisableMemoryStack ()
 disable the memory stack
 
static tBoolean IsMemoryStackEnabled ()
 return trur if the memory stack is enabled
 
static tString MemoryStackToString ()
 get the memory stack in string More...
 
static tIndex GetRegisteredClassesNumber ()
 get the memory stack in string More...
 

Protected Member Functions

 CORE_Object ()
 build an instance of the object
 
virtual ~CORE_Object ()
 destroy the instance of object std

 

Friends

class CORE_ClassFactory
 
class Delete
 
std::ostream & operator<< (std::ostream &out, const CORE_Object &obj)
 print the class object More...
 

Detailed Description

abstract base class for most classes.

CORE_Object is the base class for most objects in the CORE toolkit

Member Function Documentation

◆ EnableMemoryStack()

static tBoolean CORE_Object::EnableMemoryStack ( const tBoolean &  isMemoryChecked)
inlinestatic

enable the memory stack

Parameters
[in]isMemoryChecked: true to verify memory allocation of CORE_Object classes
Returns
true if the memroy is checked

◆ getClassName()

tString CORE_Object::getClassName ( ) const
inline

return the name of the class

Returns
the string name of the class

◆ getConstSharedPointer()

template<class T >
std::shared_ptr<const T> CORE_Object::getConstSharedPointer ( ) const
inline

return a const shared pointer for this

Returns
the shared pointer as a type T

◆ getContentsMemorySize()

virtual tMemSize CORE_Object::getContentsMemorySize ( ) const
inlinevirtual

return nthe memory size of the included associations

Returns
the memory size of the storage in bytes 1 Kb = 1024 bytes 1 Mb = 1024 Kb 1 Gb = 1024 Mb 1 Tb = 1024 Gb 1 Hb = 1024 Tb

Reimplemented in SM_MonteCarloBeam, SM_LandauLifschitzBeam, SMOMPI_LandauLifschitzBeam, SM_MultiStochasticFunctions< F >, SM_Beam, MPI_Type, MPI_GridEnvironment< N >, MPI_Environment, MPI_DirectionalGridEnvironment< N, D >, MPI_DirectionalGridEnvironment< N, 1 >, MPI_CoreToCoreWMessage< T >, MPI_CoreToCoreMessage< T >, MPI_CoreToCoreIMessage< T >, MPI_Chrono, MPI_CanonicalGridEnvironment< N >, RAND_Object, EXPR_VariableNode, EXPR_UnionOperator, EXPR_TranslationFunction, EXPR_RotationFunction, EXPR_RootNode, EXPR_Paver, EXPR_ParentNode, EXPR_OperatorNode, EXPR_Object, EXPR_NotOperator, EXPR_Node, EXPR_LinearFunction, EXPR_LeafNode, EXPR_IntersectionOperator, EXPR_InheritedNode, EXPR_GroupNode, EXPR_Environment, EXPR_EmptyNode, EXPR_Ellipsoid, EXPR_ElementaryGeometryNode, EXPR_DifferenceOperator, EXPR_Cylinder, EXPR_ChildNode, EXPR_AffineFunction, CORE_VectorList< T, I >, CORE_VectorList< tString, CORE_StringsList >, CORE_ValArray< T, I >, CORE_ValArray< T, CORE_StdValArray< T > >, CORE_ValArray< T, OMP_ValArray< T > >, CORE_StringsList, CORE_Run, CORE_PtrArray< T, I >, CORE_PtrArray< T, CORE_StdPtrArray< T > >, CORE_PtrArray< T, OMP_PtrArray< T > >, CORE_Out, CORE_OptionsList, CORE_Field< T, K, D, S, I >, CORE_Field< T, K, D, OMP_ValArray< T >, OMP_ValField< T, K, D > >, CORE_Field< T, K, D, OMP_PtrArray< T >, OMP_PtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdPtrArray< T >, CORE_StdPtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdValArray< T >, CORE_StdValField< T, K, D > >, CORE_ClassFactory, SM_XDMF, SM_VTK< VTK_Impl >, SM_VTK< SM_XDMF >, SM_ZeemanOperator, SMOMPI_Operator, SM_PackedBlockSymmetricMatrix< T, P >, SM_PackedBlockMatrix< T, P >, SM_PackedBlockGeneralMatrix< T, P >, SM_MacroCellsNetwork, SM_MacroCellsMagnetizationField, SM_MacroCellsDemagnetizedField, SMOMPI_OneMasterMacroCellsNetwork, SMOMPI_OneMasterMacroCellsMagnetizationField, SMOMPI_OneMasterMacroCellsDemagnetizedField, SMOMPI_NoMasterMacroCellsNetwork, SMOMPI_NoMasterMacroCellsMagnetizationField, SMOMPI_NoMasterMacroCellsDemagnetizedField, SMOMPI_AllMasterMacroCellsNetwork, SMOMPI_AllMasterMacroCellsMagnetizationField, SMOMPI_AllMasterMacroCellsDemagnetizedField, SM_MacroCellsExternalDemagnetizedOperator, SM_MacroCellsDemagnetizedOperator, SM_MacroCellsContinuousDemagnetizedOperator, SM_DipolarOperator, SMOMPI_DipolarOperator, SM_UniaxialAnisotropyOperator, SM_PlanarAnisotropyOperator, SM_CubicAnisotropyOperator, SM_NetworkGridBuilder, SM_FCCStructuresBuilder, SM_DomainGridBuilder, SM_CrystalStructuresGridBuilder, SM_CrystalStructuresBuilder, SM_BCCStructuresBuilder, SM_BCC2StructuresBuilder, SMOMPI_Network, SMOMPI_DomainGridBuilder, SMOMPI_CrystalStructuresGridBuilder, SMOMPI_MonteCarloSystem, SM_MonteCarloSystem, SM_StochasticXDMF, SM_StochasticTrajectory, SM_StochasticJs, SM_StochasticHysteresis, SM_StochasticEnergy, SM_StochasticDecreasingNoise, SM_StochasticCurieTemperature, SM_StochasticBoltzmann, SM_BeamTimeStepRange, SM_BeamTemperatureRange, SM_BeamRandomJRange, SM_BeamHysteresis, SMOMPI_LandauLifschitzSystem, SMOMPI_HeunSystem, SM_TemperatureNoiseRate, SM_LandauLifschitzSystem, SM_FCCStructure, SM_BCCStructure, SM_BCC2Structure, SM_System, SM_StochasticOutputList, SM_StochasticOutputComponent, SM_StochasticOutput< StochOutputImplement >, SM_StochasticOutput< SM_StochasticJs >, SM_StochasticOutput< SM_StochasticXDMF >, SM_StochasticOutput< SM_StochasticEnergy >, SM_StochasticOutput< SM_StochasticTrajectory >, SM_StochasticOutput< SM_StochasticBoltzmann >, SM_StochasticOutput< SM_StochasticOutputList >, SM_StochasticOutput< SM_StochasticHysteresis >, SM_StochasticOutput< SM_StochasticCurieTemperature >, SM_StochasticOutput< SM_StochasticDecreasingNoise >, SM_SliceOperator, SM_Operator, SM_NetworkBuilder, SM_Network, SM_MultiStochasticFunctionsInterface, SM_Material, SM_CrystalStructure, MPI_MessageData, TRNG_YARN2, TRNG_RandomNumberGenerator< T, I, D >, TRNG_RandomNumberGenerator< int32_t, trng::mt19937_64, TRNG_MT19937 >, TRNG_RandomNumberDistribution< T, I, D >, TRNG_RandomNumberDistribution< int, trng::uniform_int_dist, TRNG_UniformIntDistribution >, TRNG_ParallelRandomNumberGenerator< T, I, D >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg5, TRNG_MRG5 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg5s, TRNG_MRG5s >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg3s, TRNG_MRG3s >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg3, TRNG_MRG3 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg2, TRNG_MRG2 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::yarn2, TRNG_YARN2 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg4, TRNG_MRG4 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::lcg64, TRNG_LCG64 >, TRNG_MT19937, TRNG_MRG5s, TRNG_MRG5, TRNG_MRG4, TRNG_MRG3s, TRNG_MRG3, TRNG_MRG2, TRNG_LCG64, RNDSTD_UniformRealDistribution, RNDSTD_UniformIntDistribution, RNDSTD_NormalDistribution, RNDSTD_MT19937, RAND_RandomNumberGenerator< T, I, D >, RAND_RandomNumberGenerator< tReal, boost::mt19937, RNDB_MT19937 >, RAND_RandomNumberGenerator< tReal, std::mt19937, RNDSTD_MT19937 >, RAND_RandomNumberDistribution< T, I, D >, RAND_RandomNumberDistribution< tRelativeInteger, std::uniform_int_distribution< tRelativeInteger >, RNDSTD_UniformIntDistribution >, RAND_RandomNumberDistribution< tReal, std::normal_distribution< tReal >, RNDSTD_NormalDistribution >, RAND_RandomNumberDistribution< tReal, std::uniform_real_distribution< tReal >, RNDSTD_UniformRealDistribution >, RAND_RandomNumberDistribution< tRelativeInteger, boost::random::uniform_int_distribution< tRelativeInteger >, RNDB_UniformIntDistribution >, RAND_RandomNumberDistribution< tReal, boost::random::uniform_real_distribution< tReal >, RNDB_UniformRealDistribution >, RAND_RandomNumberDistribution< tReal, boost::random::normal_distribution< tReal >, RNDB_NormalDistribution >, RAND_RandomNumberDistribution< tReal, trng::uniform_dist< tReal >, TRNG_UniformRealDistribution >, RAND_RandomNumberDistribution< tReal, trng::uniform01_dist< tReal >, TRNG_Uniform01Distribution >, RAND_RandomNumberDistribution< tReal, boost::random::uniform_01< tReal >, RNDB_Uniform01Distribution >, RAND_RandomNumberDistribution< tReal, trng::normal_dist< tReal >, TRNG_NormalDistribution >, RNDB_UniformRealDistribution, RNDB_UniformIntDistribution, RNDB_Uniform01Distribution, RNDB_NormalDistribution, and RNDB_MT19937.

◆ getIdentityString()

tString CORE_Object::getIdentityString ( ) const
inline

retrun the string identification of the class

Returns
the string identity of the class

◆ getMemorySize()

virtual tMemSize CORE_Object::getMemorySize ( ) const
inlinevirtual

return the memory size of the class and the memory size of all its attributes/associations

Returns
the memory size of the class and the memory size of its attributes/associations in bytes The mamory size is :
  • the added size of the base classes which contains:
    • the primary attributes size depends on the order: (first delare the smallest attributes size
    • all virtual functions costs <pointer-size> (4 32xor 8 64x) bytes by virtual function
    • virtual inherihtance will increase of (4 or 8) bytes
  • we add the size of the contains values of the attributes : for example the size of a string is the length of the string 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo

Reimplemented in SM_StochasticFunctionsClassFactory, SMOMPI_OperatorsClassFactory, SMOMPI_OperatorFieldsClassFactory, SM_NetworkClassFactory, SMOMPI_NetworkClassFactory, SM_MonteCarloOptions, SM_MonteCarloLoader, SM_MonteCarloClassFactory, SM_MonteCarloBeam, SM_StochasticOutputLoader, SM_StochasticOutputClassFactory, SM_CycleLoader, SM_CycleClassFactory, SM_LandauLifschitzOptions, SM_LandauLifschitzLoader, SM_LandauLifschitzBeam, SM_NoiseRateFunctionsClassFactory, SMOMPI_LandauLifschitzClassFactory, SMOMPI_LandauLifschitzBeam, SM_CrystalStructureClassFactory, SM_StochasticFunctions< I >, SM_StochasticFunctions< SM_MTStochasticFunctions< G > >, SM_StochasticFunctions< SM_TRNGStochasticFunctions_MT19937 >, SM_StochasticFunctions< SM_STDStochasticFunctions< G > >, SM_StochasticFunctions< SM_TRNGStochasticFunctions< G > >, SM_StochasticFunctions< SM_BoostStochasticFunctions< G > >, SM_Options, SM_MultiStochasticFunctions< F >, SM_Loader, SM_ClassFactory, SM_Beam, OMP_ValField< T, K, D >, OMP_ValArray< T >, OMP_PtrField< T, K, D >, OMP_PtrArray< T >, OMP_ClassFactory, MPI_WorldToWorldMessage, MPI_Type, MPI_Run, MPI_IOFile, MPI_GridEnvironment< N >, MPI_Environment, MPI_DirectionalGridEnvironment< N, D >, MPI_DirectionalGridEnvironment< N, 1 >, MPI_CoreToCoreWMessage< T >, MPI_CoreToCoreSMessage< T >, MPI_CoreToCoreMessage< T >, MPI_CoreToCoreIMessage< T >, MPI_CoreToCoreBMessage< T >, MPI_ClassFactory, MPI_Chrono, MPI_CanonicalGridEnvironment< N >, RAND_Object, EXPR_VariableNode, EXPR_UnionOperator, EXPR_TranslationFunction, EXPR_Run, EXPR_RotationFunction, EXPR_RootNode, EXPR_Paver, EXPR_ParentNode, EXPR_OperatorNode, EXPR_Object, EXPR_NotOperator, EXPR_Node, EXPR_LinearFunction, EXPR_LeafNode, EXPR_IntersectionOperator, EXPR_InheritedNode, EXPR_GroupNode, EXPR_Environment, EXPR_EmptyNode, EXPR_Ellipsoid, EXPR_ElementaryGeometryNode, EXPR_DifferenceOperator, EXPR_Cylinder, EXPR_ChildNode, EXPR_AffineFunction, CORE_VectorList< T, I >, CORE_VectorList< tString, CORE_StringsList >, CORE_ValArray< T, I >, CORE_ValArray< T, CORE_StdValArray< T > >, CORE_ValArray< T, OMP_ValArray< T > >, CORE_Test, CORE_StringsList, CORE_StdValField< T, K, D >, CORE_StdValArray< T >, CORE_StdPtrField< T, K, D >, CORE_StdPtrArray< T >, CORE_Run, CORE_PtrArray< T, I >, CORE_PtrArray< T, CORE_StdPtrArray< T > >, CORE_PtrArray< T, OMP_PtrArray< T > >, CORE_OutputFile, CORE_Out, CORE_OptionsList, CORE_List< T, K, I >, CORE_List< T, tIndex, I >, CORE_IO, CORE_Field< T, K, D, S, I >, CORE_Field< T, K, D, OMP_ValArray< T >, OMP_ValField< T, K, D > >, CORE_Field< T, K, D, OMP_PtrArray< T >, OMP_PtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdPtrArray< T >, CORE_StdPtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdValArray< T >, CORE_StdValField< T, K, D > >, CORE_Collection< T, I >, CORE_ClassFactory, CORE_Chrono, CORE_Array< T, I >, SM_TRNGStochasticFunctions_MT19937, SM_TRNGStochasticFunctions< G >, SM_STDStochasticFunctions< G >, SM_MTStochasticFunctions< G >, SM_BoostStochasticFunctions< G >, SM_XDMF, SM_VTK< VTK_Impl >, SM_VTK< SM_XDMF >, SM_ZeemanOperator, SM_PermanentZeemanOperator, SM_ConstantZeemanOperator, SMOMPI_Operator, SM_HeisenbergOperator, SM_PackedBlockSymmetricMatrix< T, P >, SM_PackedBlockMatrix< T, P >, SM_PackedBlockGeneralMatrix< T, P >, SM_MacroCellsNetwork, SM_MacroCellsMagnetizationField, SM_MacroCellsDemagnetizedField, SMOMPI_OneMasterMacroCellsNetwork, SMOMPI_OneMasterMacroCellsMagnetizationField, SMOMPI_OneMasterMacroCellsDemagnetizedField, SMOMPI_NoMasterMacroCellsNetwork, SMOMPI_NoMasterMacroCellsMagnetizationField, SMOMPI_NoMasterMacroCellsDemagnetizedField, SMOMPI_AllMasterMacroCellsNetwork, SMOMPI_AllMasterMacroCellsMagnetizationField, SMOMPI_AllMasterMacroCellsDemagnetizedField, SM_DMIOperator, SM_MacroCellsExternalDemagnetizedOperator, SM_MacroCellsDemagnetizedOperator, SM_MacroCellsContinuousDemagnetizedOperator, SM_DipolarOperator, SMOMPI_DipolarOperator, SM_UniaxialAnisotropyOperator, SM_PlanarAnisotropyOperator, SM_CubicAnisotropyOperator, SM_AnisotropyOperator< I >, SM_AnisotropyOperator< SM_CubicAnisotropyOperator >, SM_AnisotropyOperator< SM_PlanarAnisotropyOperator >, SM_AnisotropyOperator< SM_UniaxialAnisotropyOperator >, SM_NetworkGridBuilder, SM_FCCStructuresBuilder, SM_DomainGridBuilder, SM_CrystalStructuresGridBuilder, SM_CrystalStructuresBuilder, SM_BCCStructuresBuilder, SM_BCC2StructuresBuilder, SMOMPI_Network, SMOMPI_DomainGridBuilder, SMOMPI_CrystalStructuresGridBuilder, SMOMPI_MonteCarloSystem, SM_MonteCarloSystem, SM_StochasticXDMF, SM_StochasticTrajectory, SM_StochasticJs, SM_StochasticHysteresis, SM_StochasticEnergy, SM_StochasticDecreasingNoise, SM_StochasticCurieTemperature, SM_StochasticBoltzmann, SMOMPI_UtilityRunner, SMOMPI_Run, SMOMPI_Options, SMOMPI_NetworkBuilderRunner, SMOMPI_ClassFactory, SMOMPI_BeamRunner, SM_BeamTimeStepRange, SM_BeamTemperatureRange, SM_BeamRandomJRange, SM_BeamHysteresis, SM_BeamCycle< CYCLE_CLASS >, SM_BeamCycle< SM_BeamRandomJRange >, SM_BeamCycle< SM_BeamHysteresis >, SM_BeamCycle< SM_BeamTimeStepRange >, SM_BeamCycle< SM_BeamTemperatureRange >, SM_InverseNoiseRateFunction, SM_ConstantNoiseRateFunction, SMOMPI_StratonovichSystem, SMOMPI_StratonovichNormalizedSystem, SMOMPI_LandauLifschitzSystem, SMOMPI_LandauLifschitzFunction, SMOMPI_ItoSystem, SMOMPI_HeunSystem, SM_TimeStepper, SM_TemperatureNoiseRate, SM_NoiseRateFunctionInterface, SM_NoiseRateFunction< DerivedClass >, SM_NoiseRateFunction< SM_ConstantNoiseRateFunction >, SM_NoiseRateFunction< SM_InverseNoiseRateFunction >, SM_LandauLifschitzSystem, SM_LandauLifschitzFunction, SM_FCCStructure, SM_BCCStructure, SM_BCC2Structure, SM_System, SM_StochasticOutputList, SM_StochasticOutputComponent, SM_StochasticOutput< StochOutputImplement >, SM_StochasticOutput< SM_StochasticJs >, SM_StochasticOutput< SM_StochasticXDMF >, SM_StochasticOutput< SM_StochasticEnergy >, SM_StochasticOutput< SM_StochasticTrajectory >, SM_StochasticOutput< SM_StochasticBoltzmann >, SM_StochasticOutput< SM_StochasticOutputList >, SM_StochasticOutput< SM_StochasticHysteresis >, SM_StochasticOutput< SM_StochasticCurieTemperature >, SM_StochasticOutput< SM_StochasticDecreasingNoise >, SM_StochasticFunctionsInterface, SM_SliceOperator, SM_Operator, SM_Object, SM_NetworkBuilder, SM_Network, SM_MultiStochasticFunctionsInterface, SM_Material, SM_LinearSliceOperator, SM_Field< T, K, D >, SM_Field< tReal, tDimension, SM_Constants::DIM >, SM_CrystalStructure, OMP_Thread, OMP_Options, MPI_Options, MPI_MessageData, MPI_CartEnvironment< N, D >, MPI_Addrs, TRNG_YARN2, TRNG_RandomNumberGenerator< T, I, D >, TRNG_RandomNumberGenerator< int32_t, trng::mt19937_64, TRNG_MT19937 >, TRNG_RandomNumberDistribution< T, I, D >, TRNG_RandomNumberDistribution< int, trng::uniform_int_dist, TRNG_UniformIntDistribution >, TRNG_ParallelRandomNumberGenerator< T, I, D >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg5, TRNG_MRG5 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg5s, TRNG_MRG5s >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg3s, TRNG_MRG3s >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg3, TRNG_MRG3 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg2, TRNG_MRG2 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::yarn2, TRNG_YARN2 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::mrg4, TRNG_MRG4 >, TRNG_ParallelRandomNumberGenerator< int32_t, trng::lcg64, TRNG_LCG64 >, TRNG_MT19937, TRNG_MRG5s, TRNG_MRG5, TRNG_MRG4, TRNG_MRG3s, TRNG_MRG3, TRNG_MRG2, TRNG_LCG64, TRNG_ClassFactory, RNDSTD_UniformRealDistribution, RNDSTD_UniformIntDistribution, RNDSTD_NormalDistribution, RNDSTD_MT19937, RNDSTD_ClassFactory, RAND_RandomNumberGenerator< T, I, D >, RAND_RandomNumberGenerator< tReal, boost::mt19937, RNDB_MT19937 >, RAND_RandomNumberGenerator< tReal, std::mt19937, RNDSTD_MT19937 >, RAND_RandomNumberDistribution< T, I, D >, RAND_RandomNumberDistribution< tRelativeInteger, std::uniform_int_distribution< tRelativeInteger >, RNDSTD_UniformIntDistribution >, RAND_RandomNumberDistribution< tReal, std::normal_distribution< tReal >, RNDSTD_NormalDistribution >, RAND_RandomNumberDistribution< tReal, std::uniform_real_distribution< tReal >, RNDSTD_UniformRealDistribution >, RAND_RandomNumberDistribution< tRelativeInteger, boost::random::uniform_int_distribution< tRelativeInteger >, RNDB_UniformIntDistribution >, RAND_RandomNumberDistribution< tReal, boost::random::uniform_real_distribution< tReal >, RNDB_UniformRealDistribution >, RAND_RandomNumberDistribution< tReal, boost::random::normal_distribution< tReal >, RNDB_NormalDistribution >, RAND_RandomNumberDistribution< tReal, trng::uniform_dist< tReal >, TRNG_UniformRealDistribution >, RAND_RandomNumberDistribution< tReal, trng::uniform01_dist< tReal >, TRNG_Uniform01Distribution >, RAND_RandomNumberDistribution< tReal, boost::random::uniform_01< tReal >, RNDB_Uniform01Distribution >, RAND_RandomNumberDistribution< tReal, trng::normal_dist< tReal >, TRNG_NormalDistribution >, RAND_ClassFactory, RNDB_UniformRealDistribution, RNDB_UniformIntDistribution, RNDB_Uniform01Distribution, RNDB_NormalDistribution, RNDB_MT19937, RNDB_ClassFactory, and CORE_Options.

◆ getPointerString()

tString CORE_Object::getPointerString ( ) const
inline

retrun the pointer of the class as a string

Returns
the pointer of the calss as a string

◆ GetRegisteredClassesNumber()

static tIndex CORE_Object::GetRegisteredClassesNumber ( )
inlinestatic

get the memory stack in string

Returns
the string representation of the memory stack

◆ getSharedPointer()

template<class T >
std::shared_ptr<T> CORE_Object::getSharedPointer ( )
inline

return the shared pointer for this

Returns
the shared pointer as a type T

◆ isInstanceOf()

template<class T >
tBoolean CORE_Object::isInstanceOf ( ) const
inline

test if the clas T is an instance of this class

Returns
true if the object is an instance of T

◆ MemoryStackToString()

static tString CORE_Object::MemoryStackToString ( )
inlinestatic

get the memory stack in string

Returns
the string representation of the memory stack

◆ toString()

virtual tString CORE_Object::toString ( ) const
inlinevirtual

return the string representation of the object node

Returns
the string representation of the object node

Reimplemented in SM_ZeemanOperator, SM_PackedBlockSymmetricMatrix< T, P >, SM_PackedBlockMatrix< T, P >, SM_PackedBlockGeneralMatrix< T, P >, SM_MacroCellsNetwork, SM_MacroCellsMagnetizationField, SM_MacroCellsDemagnetizedField, SMOMPI_OneMasterMacroCellsNetwork, SMOMPI_AllMasterMacroCellsNetwork, SM_MacroCellsDemagnetizedOperator, SMOMPI_Network, SM_MonteCarloSystem, SM_StochasticJs, SM_StochasticHysteresis, SM_StochasticEnergy, SM_StochasticDecreasingNoise, SM_StochasticCurieTemperature, SM_StochasticBoltzmann, SM_BeamTimeStepRange, SM_BeamTemperatureRange, SM_BeamRandomJRange, SM_BeamHysteresis, SM_BeamCycle< CYCLE_CLASS >, SM_BeamCycle< SM_BeamRandomJRange >, SM_BeamCycle< SM_BeamHysteresis >, SM_BeamCycle< SM_BeamTimeStepRange >, SM_BeamCycle< SM_BeamTemperatureRange >, SM_TimeStepper, SM_LandauLifschitzSystem, SM_LandauLifschitzFunction, SM_System, SM_StochasticOutputList, SM_StochasticOutputComponent, SM_SliceOperator, SM_Operator, SM_Network, SM_MultiStochasticFunctions< F >, SM_Material, SM_CrystalStructure, SM_Beam, MPI_Error, EXPR_VariableNode, EXPR_UnionOperator, EXPR_Tokenizer, EXPR_Parser, EXPR_ParentNode, EXPR_NotOperator, EXPR_Node, EXPR_IntersectionOperator, EXPR_InheritedNode, EXPR_GroupNode, EXPR_Environment, EXPR_EmptyNode, EXPR_ElementaryGeometryNode, EXPR_DifferenceOperator, CORE_Out, CORE_OptionsList, CORE_Field< T, K, D, S, I >, CORE_Field< T, K, D, OMP_ValArray< T >, OMP_ValField< T, K, D > >, CORE_Field< T, K, D, OMP_PtrArray< T >, OMP_PtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdPtrArray< T >, CORE_StdPtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdValArray< T >, CORE_StdValField< T, K, D > >, CORE_Collection< T, I >, CORE_ClassFactory, SM_MacroCellsExternalDemagnetizedOperator, SM_MacroCellsContinuousDemagnetizedOperator, SM_NoiseRateFunctionInterface, EXPR_Ellipsoid, and EXPR_Cylinder.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const CORE_Object obj 
)
friend

print the class object

Parameters
[in,out]out: output into printing
[in]objobject to print
Returns
the output

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