Namespace of Arccore. More...
Namespaces | |
| namespace | MessagePassing |
| Namespace containing the types and declarations that manage the message-passing parallelism mechanism. | |
Classes | |
| class | BuiltInDataTypeContainer |
| Container containing an instance of a class per data type. More... | |
| class | ExternalReferenceCounterAccessor |
| class | ArrayTraits |
| Characteristics for an array. More... | |
| class | ArrayTraits< T * > |
| Default implementation indicating that a type is not POD. More... | |
| class | ArrayTraits< const T * > |
| Default implementation indicating that a type is not POD. More... | |
| class | ArrayTraits< char > |
| class | ArrayTraits< signed char > |
| class | ArrayTraits< unsigned char > |
| class | ArrayTraits< short > |
| class | ArrayTraits< int > |
| class | ArrayTraits< long > |
| class | ArrayTraits< unsigned short > |
| class | ArrayTraits< unsigned int > |
| class | ArrayTraits< unsigned long > |
| class | ArrayTraits< float > |
| class | ArrayTraits< double > |
| class | ArrayTraits< long double > |
| class | ArrayTraits< std::byte > |
| class | ArrayTraits< Float16 > |
| class | ArrayTraits< BFloat16 > |
| class | ITraceMng |
| Trace manager interface. More... | |
| class | String |
| Unicode character string. More... | |
| class | StringBuilder |
| Unicode character string constructor. More... | |
| class | StringFormatterArg |
| Class used to format a character string. More... | |
| class | StringView |
| View of a UTF-8 character string. More... | |
| class | APReal |
| Emulation of real number in arbitrary precision. More... | |
| struct | FalseType |
| Structure equivalent to the boolean value true. More... | |
| struct | TrueType |
| Structure equivalent to the boolean value true. More... | |
| class | Array2View |
| Mutable view for a 2D array. More... | |
| class | Array3View |
| View for a 3D array. More... | |
| class | Array4View |
| View for a 4D array. More... | |
| class | ArrayIterator |
| Iterator over Arccore array classes. More... | |
| class | ArrayView |
| Modifiable view of an array of type T. More... | |
| class | ConstArray2View |
| View for a constant 2D array. More... | |
| class | ConstArray3View |
| View for a constant 3D array. More... | |
| class | ConstArray4View |
| Constant view for a 4D array. More... | |
| class | ConstArrayView |
| Constant view of an array of type T. More... | |
| class | ConstIterT |
| Constant iterator interval. More... | |
| class | IterT |
| Iterator intervalThis class manages an iterator pair allowing modification of the elements of the container. More... | |
| class | SmallSpan |
| View of an array of elements of type T. More... | |
| class | SmallSpan2 |
| View for a 2D array whose size is an 'Int32'. More... | |
| class | Span |
| View of an array of elements of type T. More... | |
| class | Span2 |
| View for a 2D array whose size is an 'Int64'. More... | |
| class | Span2Impl |
| View for a 2D array. More... | |
| class | SpanImpl |
| View of an array of elements of type T. More... | |
| class | StringImpl |
| Implementation of the String class. More... | |
| class | StringVector |
| Vector of 'String'. More... | |
| class | ArgumentException |
| Exception when an argument is invalid. More... | |
| class | CheckedPointer |
| Encapsulation of a pointer. More... | |
| class | Exception |
| Base class for an exception. More... | |
| class | FatalErrorException |
| Exception when a fatal error has occurred. More... | |
| class | FixedStackFrameArray |
| Stores a fixed maximum size list of StackFrame. More... | |
| class | IndexOutOfRangeException |
| Exception when a value is not within a given range. More... | |
| class | IStackTraceService |
| Interface of a function call tracing service. More... | |
| class | NotImplementedException |
| Exception when a function is not implemented. More... | |
| class | NotSupportedException |
| Exception when an operation is not supported. More... | |
| class | Ref |
| Reference to an instance. More... | |
| class | ReferenceCounter |
| Encapsulation of a pointer with a reference counter. More... | |
| class | ReferenceCounterImpl |
| Thread-safe implementation of a reference counter. More... | |
| struct | RefTraits |
| Characteristics for managing reference counters. More... | |
| class | StackFrame |
| Stores the addresses corresponding to a call stack. This class is internal and should not be used outside of Arccore. More... | |
| class | StackTrace |
| Information about function call stacks. More... | |
| class | TimeoutException |
| Exception when a timeout occurs. More... | |
| class | TraceInfo |
| Trace information. More... | |
| class | FunctorT |
| Functor associated with a method of a class T. More... | |
| class | FunctorWithArgumentT |
| Functor associated with a method of a class T. More... | |
| class | IFunctor |
| Interface of a functor. More... | |
| class | IFunctorWithArgAndReturn2 |
| Interface of a functor with 2 arguments and a return value. More... | |
| class | IFunctorWithArgumentT |
| Interface of a functor with an argument but without a return value. More... | |
| class | StdFunctorWithArgumentT |
| Generic Functor using the std::function class. More... | |
| class | ArrayRange |
| Interval over Arccore array classes. More... | |
| struct | ReferenceCounterTag |
| Structure used to tag interfaces/classes that use an internal reference counter. More... | |
| class | AbstractArray |
| Abstract base class for a vector. More... | |
| class | AlignedMemoryAllocator |
| Memory allocator with specific memory alignment. More... | |
| class | AllocatedMemoryInfo |
| Information about an allocated memory region. More... | |
| class | Array |
| Base class for 1D data vectors. More... | |
| class | Array2 |
| Class representing a classic 2D array. More... | |
| class | ArrayMetaData |
| Array Metadata. More... | |
| class | DefaultMemoryAllocator |
| Memory allocator via malloc/realloc/free. More... | |
| class | IMemoryAllocator |
| Interface for a memory allocator. More... | |
| class | MemoryAllocationArgs |
| Class containing information to specialize allocations. More... | |
| class | MemoryAllocationOptions |
| Options to configure allocations. More... | |
| class | PrintableMemoryAllocator |
| Memory allocator via malloc/realloc/free with listing output. More... | |
| class | SharedArray |
| 1D vector of data with reference semantics. More... | |
| class | SharedArray2 |
| Shared 2D data vector with reference semantics. More... | |
| class | UniqueArray |
| 1D data vector with value semantics (STL style). More... | |
| class | UniqueArray2 |
| 2D data vector with value semantics (STL style). More... | |
| class | ISerializer |
| Serializer interface. More... | |
| class | ITimeMetricCollector |
| Interface managing statistics on execution. More... | |
| class | BasicSerializer |
| Basic implementation of 'ISerializer'. More... | |
Typedefs | |
| using | BFloat16 = Arcane::BFloat16 |
| Type 'Brain Float16'. | |
| using | Float16 = Arcane::Float16 |
| Type 'Float16' (binary16). | |
| using | Float32 = float |
| IEEE-753 single precision floating point type (binary32). | |
| using | Int8 = Arcane::Int8 |
| Type representing an 8-bit integer. | |
| using | Float128 = Arcane::Float128 |
| Type representing a 128-bit float. | |
| using | Int128 = Arcane::Int128 |
| Type representing a 128-bit integer. | |
| using | Int16 = Arcane::Int16 |
| using | Int32 = Arcane::Int32 |
| using | Int64 = Arcane::Int64 |
| using | eMemoryRessource = Arcane::eMemoryResource |
| Typedef for the historical Arcane version (with 2's'). | |
| using | UInt32 |
| Unsigned integer type of 32 bits. | |
| using | UInt64 |
| Unsigned integer type of 64 bits. | |
| using | Integer |
| Type representing an integer. | |
| using | Pointer |
| Type representing a pointer. | |
| using | Real |
| Type representing a real number. | |
| using | Short |
| template<typename T, Int64 Extent = DynExtent> | |
| using | LargeSpan |
| typedef unsigned char | Byte |
| Type of a byte. | |
| typedef signed char | SByte |
| Type of a byte. | |
| typedef float | Single |
| Type of a single-precision real number. | |
| typedef unsigned short | UChar |
| Type of a unicode character. | |
| typedef unsigned short | UInt16 |
| Type of an unsigned Int16. | |
| typedef ArrayView< bool > | BoolArrayView |
| C equivalent of a 1D array of booleans. | |
| typedef ArrayView< Byte > | ByteArrayView |
| C equivalent of a 1D array of characters. | |
| typedef ArrayView< Int16 > | Int16ArrayView |
| C equivalent of a 1D array of 16-bit integers. | |
| typedef ArrayView< Int32 > | Int32ArrayView |
| C equivalent of a 1D array of 32-bit integers. | |
| typedef ArrayView< Int64 > | Int64ArrayView |
| C equivalent of a 1D array of 64-bit integers. | |
| typedef ArrayView< Integer > | IntegerArrayView |
| C equivalent of a 1D array of integers. | |
| typedef ArrayView< Pointer > | PointerArrayView |
| C equivalent of a 1D array of pointers. | |
| typedef ArrayView< Real > | RealArrayView |
| C equivalent of a 1D array of reals. | |
| typedef ArrayView< UChar > | UCharArrayView |
| C equivalent of a 1D array of unicode characters. | |
| typedef ConstArrayView< bool > | BoolConstArrayView |
| C equivalent of a 1D array of booleans. | |
| typedef ConstArrayView< Byte > | ByteConstArrayView |
| C equivalent of a 1D array of characters. | |
| typedef ConstArrayView< Int16 > | Int16ConstArrayView |
| C equivalent of a 1D array of 16-bit integers. | |
| typedef ConstArrayView< Int32 > | Int32ConstArrayView |
| C equivalent of a 1D array of 32-bit integers. | |
| typedef ConstArrayView< Int64 > | Int64ConstArrayView |
| C equivalent of a 1D array of 64-bit integers. | |
| typedef ConstArrayView< Integer > | IntegerConstArrayView |
| C equivalent of a 1D array of integers. | |
| typedef ConstArrayView< Pointer > | PointerConstArrayView |
| C equivalent of a 1D array of pointers. | |
| typedef ConstArrayView< Real > | RealConstArrayView |
| C equivalent of a 1D array of reals. | |
| typedef ConstArrayView< UChar > | UCharConstArrayView |
| C equivalent of a 1D array of unicode characters. | |
| typedef Span< bool > | BoolSpan |
| C equivalent of a 1D array of booleans. | |
| using | ByteSpan |
| typedef Span< Int16 > | Int16Span |
| C equivalent of a 1D array of 16-bit integers. | |
| typedef Span< Int32 > | Int32Span |
| C equivalent of a 1D array of 32-bit integers. | |
| typedef Span< Int64 > | Int64Span |
| C equivalent of a 1D array of 64-bit integers. | |
| typedef Span< Integer > | IntegerSpan |
| C equivalent of a 1D array of integers. | |
| typedef Span< Pointer > | PointerSpan |
| C equivalent of a one-dimensional array of pointers. | |
| typedef Span< Real > | RealSpan |
| C equivalent of a 1D array of reals. | |
| typedef Span< UChar > | UCharSpan |
| C equivalent of a 1D array of unicode characters. | |
| typedef Span< const bool > | BoolConstSpan |
| Read-only view of a 1D array of booleans. | |
| using | ByteConstSpan |
| typedef Span< const Int16 > | Int16ConstSpan |
| Read-only view of a 1D array of 16-bit integers. | |
| typedef Span< const Int32 > | Int32ConstSpan |
| Read-only view of a 1D array of 32-bit integers. | |
| typedef Span< const Int64 > | Int64ConstSpan |
| Read-only view of a 1D array of 64-bit integers. | |
| typedef Span< const Integer > | IntegerConstSpan |
| Read-only view of a 1D array of integers. | |
| typedef Span< const Pointer > | PointerConstSpan |
| Read-only view of a 1D array of pointers. | |
| typedef Span< const Real > | RealConstSpan |
| Read-only view of a 1D array of reals. | |
| typedef Span< const UChar > | UCharConstSpan |
| Read-only view of a 1D array of unicode characters. | |
| using | AlignedMemoryAllocator3 |
| using | DefaultMemoryAllocator3 |
| using | IMemoryAllocator3 |
Enumerations | |
| enum class | eBasicDataType |
| Type of a basic data item. More... | |
| enum class | eBasicDataType |
| Type of a basic data item. More... | |
| enum class | eHostDeviceMemoryLocation |
| Physical location of a memory address. More... | |
| enum class | eMemoryLocationHint |
| Indices for expected memory location. More... | |
| enum class | eMemoryResource |
| List of available memory resources. More... | |
Functions | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::ICaseOptionList) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::IData) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::ISerializedData) | |
| ARCCORE_DEFINE_ARRAY_PODTYPE (Arcane::Materials::MatVarIndex) | |
| ARCCORE_DEFINE_ARRAY_PODTYPE (Arcane::Materials::ConstituentItemIndex) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::IParallelMng) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::IParallelMngContainer) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::DependencyInjection::impl::IInstanceFactory) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (MyTest::TestBaseType) | |
| ARCCORE_DEFINE_ARRAY_PODTYPE (TestArccore::IntSubClass) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::IThreadImplementation) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::ITraceMng) | |
| ARCCORE_DEFINE_REFERENCE_COUNTED_CLASS (Arcane::ITraceStream) | |
| __host__ __device__ void | arccoreCheckAt (Int64 i, Int64 max_size) |
| Checks for potential array overflow. | |
| __host__ __device__ void | arccoreCheckRange (Int64 i, Int64 min_value_inclusive, Int64 max_value_exclusive) |
| Checks that min_value_inclusive <= i < max_value_exclusive. | |
| void | arccoreDebugPause (const char *msg) |
| Enters pause mode or throws a fatal error. | |
| bool | arccoreIsCheck () |
| True if in check mode. | |
| bool | arccoreIsDebug () |
| True if the ARCCORE_DEBUG macro is defined. | |
| void | arccoreNullPointerError () |
| Signals the use of a null pointer. | |
| void | arccorePrintf (const char *,...) |
| Encapsulation of the C printf function. | |
| void | arccoreRangeError (Int64 i, Int64 min_value_inclusive, Int64 max_value_exclusive) |
| Signals that a value is not within the desired range. | |
| void | arccoreSetCheck (bool v) |
| Activates or deactivates check mode. | |
| void | arccoreSetPauseOnError (bool v) |
| Indicates whether calling arccoreDebugPause() results in a pause. | |
| void * | arccoreThrowIfNull (void *ptr, const char *ptr_name, const char *text) |
| Checks that a pointer is not null. | |
| void | arccoreThrowNullPointerError (const char *ptr_name, const char *text) |
| Signals the use of a null pointer by throwing an exception. | |
| template<typename T> | |
| T * | _checkPointer (const T *t, const char *file, const char *func, int line) |
| void | _doAssert (const char *text, const char *file, const char *func, size_t line) |
| constexpr __host__ __device__ Integer | arccoreCheckArraySize (unsigned long long size) |
| Checks that size can be converted into an 'Integer' to serve as an array size. If possible, returns size converted to an 'Integer'. Otherwise, throws an ArgumentException. | |
| constexpr __host__ __device__ Int64 | arccoreCheckLargeArraySize (size_t size) |
| Checks that size can be converted into an 'Int64' to serve as an array size. | |
| eBasicDataType | basicDataTypeFromName (const char *name, bool &has_error) |
| Finds the type associated with name. | |
| const char * | basicDataTypeName (eBasicDataType type) |
| Data type name. | |
| Integer | basicDataTypeSize (eBasicDataType type) |
| Size of data type type. | |
| template<typename TrueType, class... Args> | |
| Ref< TrueType > | createRef (Args &&... args) |
| Creates an instance of type TrueType with arguments Args and returns a reference to it. | |
| template<typename InstanceType> | |
| auto | makeRef (InstanceType *t) -> Ref< InstanceType > |
| Creates a reference on a pointer. | |
| template<typename InstanceType, typename InstanceType2, typename std::enable_if_t< Ref< InstanceType >::RefType, int > = REF_TAG_REFERENCE_COUNTER> | |
| Ref< InstanceType > | makeRefFromInstance (InstanceType2 *t) |
| Retrieves a reference on the pointer t. | |
| template<typename DataType, typename SizeType, SizeType Extent> | |
| Impl::SpanTypeFromSize< conststd::byte, SizeType >::SpanType | asBytes (const SpanImpl< DataType, SizeType, Extent > &s) |
| Converts the view into an array of non-modifiable bytes. | |
| template<typename DataType, Int32 Extent> | |
| SmallSpan< DataType > | asSmallSpan (SmallSpan< std::byte, Extent > bytes) |
| Converts a SmallSpan<std::byte> into a SmallSpan<DataType>. | |
| template<typename DataType, Int64 Extent> | |
| Span< DataType > | asSpan (Span< std::byte, Extent > bytes) |
| Converts a Span<std::byte> into a Span<DataType>. | |
| template<typename DataType, typename SizeType, SizeType Extent, typename std::enable_if_t<!std::is_const< DataType >::value, int > = 0> | |
| Impl::SpanTypeFromSize< std::byte, SizeType >::SpanType | asWritableBytes (const SpanImpl< DataType, SizeType, Extent > &s) |
| Converts the view into an array of modifiable bytes. | |
| void | binaryRead (std::istream &istr, const Span< std::byte > &bytes) |
| Reads the content of bytes from the stream istr in binary format. | |
| void | binaryWrite (std::ostream &ostr, const Span< const std::byte > &bytes) |
| Writes the content of bytes to the stream ostr in binary format. | |
| template<typename DataType> | |
| void | sampleSpan (Span< const DataType > values, Span< const Int64 > indexes, Span< DataType > result) |
| Extracts a sub-array from a list of indices. | |
| ARCCORE_SERIALIZE_EXPORT Ref< ISerializer > | createSerializer () |
| Creates an instance of ISerializer. | |
| ARCCORE_TRACE_EXPORT ITraceMng * | arccoreCreateDefaultTraceMng () |
Variables | |
| constexpr Int32 | DynExtent |
| Constant to indicate that an array dimension is dynamic. | |
| constexpr unsigned char | NB_BASIC_DATA_TYPE |
| Number of supported basic types. | |
Namespace of Arccore.
All classes and types used in Arccore are in this namespace.
| using Arcane::AlignedMemoryAllocator3 |
Definition at line 43 of file CollectionsGlobal.h.
| using Arccore::BFloat16 = Arcane::BFloat16 |
Definition at line 861 of file ArccoreGlobal.h.
| typedef ArrayView< bool > Arcane::BoolArrayView |
C equivalent of a 1D array of booleans.
C equivalent of a one-dimensional array of booleans.
Definition at line 461 of file UtilsTypes.h.
| typedef ConstArrayView< bool > Arcane::BoolConstArrayView |
C equivalent of a 1D array of booleans.
C equivalent of a one-dimensional array of booleans.
Definition at line 490 of file UtilsTypes.h.
| typedef Span< const bool > Arcane::BoolConstSpan |
Read-only view of a 1D array of booleans.
C equivalent of a one-dimensional array of booleans.
Definition at line 562 of file UtilsTypes.h.
| typedef Span< bool > Arcane::BoolSpan |
C equivalent of a 1D array of booleans.
C equivalent of a one-dimensional array of booleans.
Definition at line 530 of file UtilsTypes.h.
| typedef unsigned char Arcane::Byte |
Type of a byte.
Definition at line 43 of file BaseTypes.h.
| typedef ArrayView< Byte > Arcane::ByteArrayView |
C equivalent of a 1D array of characters.
C equivalent of a one-dimensional array of characters.
Definition at line 447 of file UtilsTypes.h.
| typedef ConstArrayView< Byte > Arcane::ByteConstArrayView |
C equivalent of a 1D array of characters.
C equivalent of a one-dimensional array of characters.
Definition at line 476 of file UtilsTypes.h.
| using Arcane::MessagePassing::ByteConstSpan |
Definition at line 32 of file ISharedMemoryMessageQueue.h.
| using Arcane::MessagePassing::ByteSpan |
Definition at line 31 of file ISharedMemoryMessageQueue.h.
| using Arcane::DefaultMemoryAllocator3 |
Definition at line 44 of file CollectionsGlobal.h.
Typedef for the historical Arcane version (with 2's').
Definition at line 91 of file CollectionsGlobal.h.
| using Arccore::Float128 = Arcane::Float128 |
Type representing a 128-bit float.
Definition at line 873 of file ArccoreGlobal.h.
| using Arccore::Float16 = Arcane::Float16 |
Definition at line 864 of file ArccoreGlobal.h.
| using Arccore::Float32 = float |
IEEE-753 single precision floating point type (binary32).
Definition at line 867 of file ArccoreGlobal.h.
| using Arcane::IMemoryAllocator3 |
Definition at line 42 of file CollectionsGlobal.h.
| using Arccore::Int128 = Arcane::Int128 |
Type representing a 128-bit integer.
Definition at line 876 of file ArccoreGlobal.h.
| using Arccore::Int16 = Arcane::Int16 |
Definition at line 877 of file ArccoreGlobal.h.
| typedef ArrayView< Int16 > Arcane::Int16ArrayView |
C equivalent of a 1D array of 16-bit integers.
C equivalent of a one-dimensional array of 16-bit integers.
Definition at line 455 of file UtilsTypes.h.
| typedef ConstArrayView< Int16 > Arcane::Int16ConstArrayView |
C equivalent of a 1D array of 16-bit integers.
C equivalent of a one-dimensional array of 16-bit integers.
Definition at line 484 of file UtilsTypes.h.
| typedef Span< const Int16 > Arcane::Int16ConstSpan |
Read-only view of a 1D array of 16-bit integers.
C equivalent of a one-dimensional array of 16-bit integers.
Definition at line 556 of file UtilsTypes.h.
| typedef Span< Int16 > Arcane::Int16Span |
C equivalent of a 1D array of 16-bit integers.
C equivalent of a one-dimensional array of 16-bit integers.
Definition at line 524 of file UtilsTypes.h.
| using Arccore::Int32 = Arcane::Int32 |
Definition at line 878 of file ArccoreGlobal.h.
| typedef ArrayView< Int32 > Arcane::Int32ArrayView |
C equivalent of a 1D array of 32-bit integers.
C equivalent of a one-dimensional array of 32-bit integers.
Definition at line 453 of file UtilsTypes.h.
| typedef ConstArrayView< Int32 > Arcane::Int32ConstArrayView |
C equivalent of a 1D array of 32-bit integers.
C equivalent of a one-dimensional array of 32-bit integers.
Definition at line 482 of file UtilsTypes.h.
| typedef Span< const Int32 > Arcane::Int32ConstSpan |
Read-only view of a 1D array of 32-bit integers.
C equivalent of a one-dimensional array of 32-bit integers.
Definition at line 554 of file UtilsTypes.h.
| typedef Span< Int32 > Arcane::Int32Span |
C equivalent of a 1D array of 32-bit integers.
C equivalent of a one-dimensional array of 32-bit integers.
Definition at line 522 of file UtilsTypes.h.
| using Arccore::Int64 = Arcane::Int64 |
Definition at line 879 of file ArccoreGlobal.h.
| typedef ArrayView< Int64 > Arcane::Int64ArrayView |
C equivalent of a 1D array of 64-bit integers.
C equivalent of a one-dimensional array of 64-bit integers.
Definition at line 451 of file UtilsTypes.h.
| typedef ConstArrayView< Int64 > Arcane::Int64ConstArrayView |
C equivalent of a 1D array of 64-bit integers.
C equivalent of a one-dimensional array of 64-bit integers.
Definition at line 480 of file UtilsTypes.h.
| typedef Span< const Int64 > Arcane::Int64ConstSpan |
Read-only view of a 1D array of 64-bit integers.
C equivalent of a one-dimensional array of 64-bit integers.
Definition at line 552 of file UtilsTypes.h.
| typedef Span< Int64 > Arcane::Int64Span |
C equivalent of a 1D array of 64-bit integers.
C equivalent of a one-dimensional array of 64-bit integers.
Definition at line 520 of file UtilsTypes.h.
| using Arccore::Int8 = Arcane::Int8 |
Type representing an 8-bit integer.
Definition at line 870 of file ArccoreGlobal.h.
| using Arcane::Integer |
Type representing an integer.
If the ARCANE_64BIT macro is defined, the Integer type corresponds to an Int64 integer, otherwise to an Int32 integer.
If the ARCCORE_64BIT macro is defined, the Integer type corresponds to an Int64 integer, otherwise to an Int32 integer.
Definition at line 293 of file ArccoreGlobal.h.
| typedef ArrayView< Integer > Arcane::IntegerArrayView |
C equivalent of a 1D array of integers.
C equivalent of a one-dimensional array of integers.
Definition at line 457 of file UtilsTypes.h.
| typedef ConstArrayView< Integer > Arcane::IntegerConstArrayView |
C equivalent of a 1D array of integers.
C equivalent of a one-dimensional array of integers.
Definition at line 486 of file UtilsTypes.h.
| typedef Span< const Integer > Arcane::IntegerConstSpan |
Read-only view of a 1D array of integers.
C equivalent of a one-dimensional array of integers.
Definition at line 558 of file UtilsTypes.h.
| typedef Span< Integer > Arcane::IntegerSpan |
C equivalent of a 1D array of integers.
C equivalent of a one-dimensional array of integers.
Definition at line 526 of file UtilsTypes.h.
| using Arcane::LargeSpan |
Definition at line 67 of file BaseTypes.h.
| using Arcane::Pointer |
Type representing a pointer.
It must be used everywhere an object of any pointer type is expected.
Definition at line 249 of file ArccoreGlobal.h.
| typedef ArrayView< Pointer > Arcane::PointerArrayView |
C equivalent of a 1D array of pointers.
C equivalent of a one-dimensional array of pointers.
Definition at line 445 of file UtilsTypes.h.
| typedef ConstArrayView< Pointer > Arcane::PointerConstArrayView |
C equivalent of a 1D array of pointers.
C equivalent of a one-dimensional array of pointers.
Definition at line 474 of file UtilsTypes.h.
| typedef Span< const Pointer > Arcane::PointerConstSpan |
Read-only view of a 1D array of pointers.
C equivalent of a one-dimensional array of pointers.
Definition at line 546 of file UtilsTypes.h.
| typedef Span< Pointer > Arcane::PointerSpan |
C equivalent of a one-dimensional array of pointers.
Definition at line 514 of file UtilsTypes.h.
| using Arcane::Real |
Type representing a real number.
It must be used everywhere a real number object is expected.
Definition at line 275 of file ArccoreGlobal.h.
| typedef ArrayView< Real > Arcane::RealArrayView |
C equivalent of a 1D array of reals.
C equivalent of a one-dimensional array of reals.
Definition at line 459 of file UtilsTypes.h.
| typedef ConstArrayView< Real > Arcane::RealConstArrayView |
C equivalent of a 1D array of reals.
C equivalent of a one-dimensional array of reals.
Definition at line 488 of file UtilsTypes.h.
| typedef Span< const Real > Arcane::RealConstSpan |
Read-only view of a 1D array of reals.
C equivalent of a one-dimensional array of reals.
Definition at line 560 of file UtilsTypes.h.
| typedef Span< Real > Arcane::RealSpan |
C equivalent of a 1D array of reals.
C equivalent of a one-dimensional array of reals.
Definition at line 528 of file UtilsTypes.h.
| typedef signed char Arcane::SByte |
Type of a byte.
Definition at line 45 of file BaseTypes.h.
| using Arcane::Short |
Definition at line 292 of file ArccoreGlobal.h.
| typedef float Arcane::Single |
Type of a single-precision real number.
Definition at line 51 of file BaseTypes.h.
| typedef unsigned short Arcane::UChar |
Type of a unicode character.
Definition at line 47 of file BaseTypes.h.
| typedef ArrayView< UChar > Arcane::UCharArrayView |
C equivalent of a 1D array of unicode characters.
C equivalent of a one-dimensional array of unicode characters.
Definition at line 449 of file UtilsTypes.h.
| typedef ConstArrayView< UChar > Arcane::UCharConstArrayView |
C equivalent of a 1D array of unicode characters.
C equivalent of a one-dimensional array of unicode characters.
Definition at line 478 of file UtilsTypes.h.
| typedef Span< const UChar > Arcane::UCharConstSpan |
Read-only view of a 1D array of unicode characters.
C equivalent of a one-dimensional array of unicode characters.
Definition at line 550 of file UtilsTypes.h.
| typedef Span< UChar > Arcane::UCharSpan |
C equivalent of a 1D array of unicode characters.
C equivalent of a one-dimensional array of unicode characters.
Definition at line 518 of file UtilsTypes.h.
| typedef unsigned short Arcane::UInt16 |
Type of an unsigned Int16.
Definition at line 49 of file BaseTypes.h.
| using Arcane::UInt32 |
Unsigned integer type of 32 bits.
Definition at line 237 of file ArccoreGlobal.h.
| using Arcane::UInt64 |
Unsigned integer type of 64 bits.
Definition at line 239 of file ArccoreGlobal.h.
|
strong |
Type of a basic data item.
Definition at line 37 of file arccore/src/base/arccore/base/BasicDataType.h.
|
strong |
Type of a basic data item.
Definition at line 37 of file arccore/src/base/arccore/base/BasicDataType.h.
|
strong |
Physical location of a memory address.
For the ManagedMemoryDevice and ManagedMemoryHost values, this is an indication because there is no simple way to know where the memory is actually located.
Definition at line 155 of file CommonGlobal.h.
|
strong |
Indices for expected memory location.
Definition at line 130 of file CommonGlobal.h.
|
strong |
List of available memory resources.
Definition at line 178 of file CommonGlobal.h.
|
inline |
Definition at line 681 of file ArccoreGlobal.h.
| void Arcane::_doAssert | ( | const char * | text, |
| const char * | file, | ||
| const char * | func, | ||
| size_t | line ) |
|
inlineconstexpr |
Checks that size can be converted into an 'Integer' to serve as an array size. If possible, returns size converted to an 'Integer'. Otherwise, throws an ArgumentException.
Definition at line 203 of file ArrayViewCommon.h.
|
inline |
Checks for potential array overflow.
Calls arccoreCheckRange(i,0,max_size).
Definition at line 644 of file ArccoreGlobal.h.
|
inlineconstexpr |
Checks that size can be converted into an 'Int64' to serve as an array size.
If possible, returns size converted to an 'Int64'. Otherwise, throws an ArgumentException.
Definition at line 286 of file ArrayViewCommon.h.
|
inline |
Checks that min_value_inclusive <= i < max_value_exclusive.
If this is not the case, calls arccoreRangeError() to throw an exception.
Definition at line 621 of file ArccoreGlobal.h.
| ARCCORE_TRACE_EXPORT ITraceMng * Arcane::arccoreCreateDefaultTraceMng | ( | ) |
Definition at line 534 of file arccore/src/trace/arccore/trace/TraceMng.cc.
| void Arcane::arccoreDebugPause | ( | const char * | msg | ) |
Enters pause mode or throws a fatal error.
If arccoreSetPauseOnError() is called with the argument true, it pauses the program to potentially attach a debugger.
Otherwise, it throws a FatalErrorException with the message msg as an argument.
Definition at line 114 of file ArccoreGlobal.cc.
| bool Arcane::arccoreIsCheck | ( | ) |
True if in check mode.
This mode is active if the ARCCORE_CHECK macro is defined or if the arccoreSetCheck() method has been set to true.
Definition at line 80 of file ArccoreGlobal.cc.
| bool Arcane::arccoreIsDebug | ( | ) |
True if the ARCCORE_DEBUG macro is defined.
Definition at line 90 of file ArccoreGlobal.cc.
| void Arcane::arccoreNullPointerError | ( | ) |
Signals the use of a null pointer.
Signals an attempt to use a null pointer. Displays a message, calls arccoreDebugPause(), and throws a FatalErrorException.
Definition at line 165 of file ArccoreGlobal.cc.
| void Arcane::arccorePrintf | ( | const char * | format, |
| ... ) |
Encapsulation of the C printf function.
Definition at line 270 of file ArccoreGlobal.cc.
| void Arcane::arccoreRangeError | ( | Int64 | i, |
| Int64 | min_value_inclusive, | ||
| Int64 | max_value_exclusive ) |
Signals that a value is not within the desired range.
Indicates that the assertion min_value_inclusive <= i < max_value_exclusive is false. Calls arccoreDebugPause() then throws an IndexOutOfRangeException.
| i | invalid value. |
| min_value_inclusive | allowed minimum inclusive value. |
| max_value_exclusive | allowed maximum exclusive value. |
Definition at line 135 of file ArccoreGlobal.cc.
| void Arcane::arccoreSetCheck | ( | bool | v | ) |
Activates or deactivates check mode.
Check mode is always active if the ARCCORE_CHECK macro is defined. Otherwise, it is possible to activate it using this method. This allows certain tests to be enabled even in optimized mode.
Definition at line 85 of file ArccoreGlobal.cc.
| void Arcane::arccoreSetPauseOnError | ( | bool | v | ) |
Indicates whether calling arccoreDebugPause() results in a pause.
Definition at line 108 of file ArccoreGlobal.cc.
|
inline |
Checks that a pointer is not null.
If the pointer is null, calls arccoreThrowNullPointerError(). Otherwise, returns the pointer.
Definition at line 767 of file ArccoreGlobal.h.
| void Arcane::arccoreThrowNullPointerError | ( | const char * | ptr_name, |
| const char * | text ) |
Signals the use of a null pointer by throwing an exception.
Signals an attempt to use a null pointer. Throws a FatalErrorException.
In the exception, displays text if not null, otherwise displays ptr_name.
Normally this method should not be called directly but via the ARCCORE_CHECK_POINTER macro.
Definition at line 177 of file ArccoreGlobal.cc.
|
inline |
|
inline |
Converts a SmallSpan<std::byte> into a SmallSpan<DataType>.
|
inline |
Converts a Span<std::byte> into a Span<DataType>.
Definition at line 1126 of file Span.h.
Referenced by Arcane::VariablePrivate::computeComparisonHashCollective().
| eBasicDataType Arcane::basicDataTypeFromName | ( | const char * | name, |
| bool & | has_error ) |
Finds the type associated with name.
Definition at line 97 of file BasicDataType.cc.
| const char * Arcane::basicDataTypeName | ( | eBasicDataType | type | ) |
Data type name.
Definition at line 75 of file BasicDataType.cc.
Size of data type type.
Definition at line 114 of file BasicDataType.cc.
| void Arcane::binaryRead | ( | std::istream & | istr, |
| const Span< std::byte > & | bytes ) |
Reads the content of bytes from the stream istr in binary format.
This is equivalent to calling istr.read(bytes.data(),bytes.size());
Definition at line 102 of file ArrayView.cc.
| void Arcane::binaryWrite | ( | std::ostream & | ostr, |
| const Span< const std::byte > & | bytes ) |
Writes the content of bytes to the stream ostr in binary format.
This is equivalent to calling ostr.write(bytes.data(),bytes.size());
Definition at line 93 of file ArrayView.cc.
|
inline |
Creates an instance of type TrueType with arguments Args and returns a reference to it.
Definition at line 464 of file arccore/src/base/arccore/base/Ref.h.
Creates an instance of ISerializer.
Definition at line 183 of file SerializeGlobal.cc.
|
inline |
Creates a reference on a pointer.
The pointer t must have been allocated by the 'operator new' operator and will be destroyed by the 'operator delete' operator when there is no longer a reference to it.
Definition at line 425 of file arccore/src/base/arccore/base/Ref.h.
Referenced by Arcane::Materials::ConstituentConnectivityList::toSourceReference(), Arcane::mesh::AbstractIncrementalItemConnectivity::toSourceReference(), Arcane::mesh::NewWithLegacyConnectivity< SourceFamily, TargetFamily, typename LegacyConnectivityTraitsT< TargetFamily >::type >::toSourceReference(), Arcane::mesh::AbstractIncrementalItemConnectivity::toTargetReference(), and Arcane::mesh::NewWithLegacyConnectivity< SourceFamily, TargetFamily, typename LegacyConnectivityTraitsT< TargetFamily >::type >::toTargetReference().
|
inline |
Retrieves a reference on the pointer t.
This method is only available if the class InstanceType uses a reference counter (ImplTagId==REF_TAG_REFERENCE_COUNTER).
Definition at line 451 of file arccore/src/base/arccore/base/Ref.h.
|
inline |
|
inlineconstexpr |
Constant to indicate that an array dimension is dynamic.
Definition at line 54 of file BaseTypes.h.
|
constexpr |
Number of supported basic types.
Definition at line 54 of file arccore/src/base/arccore/base/BasicDataType.h.