Skip to main content

DPF Cpp Client Library 2026 R1

Class ansys::dpf::CacheInformation::LevelAndDestination

Last update: 25.03.2026

Members

Public types

Enumeration type Level

enum Level {
  MIN_LEVEL = 0,
  LEVEL_ONE = 1,
  LEVEL_TWO = 2,
  LEVEL_THREE = 3,
  MAX_LEVEL = 4
}

Enumerator MIN_LEVEL

Enumerator LEVEL_ONE

Enumerator LEVEL_TWO

Enumerator LEVEL_THREE

Enumerator MAX_LEVEL

Enumeration type Destination

enum Destination {
  RAM,
  DISK
}

Enumerator RAM

Enumerator DISK

Public static attributes

Variable _level_property

const std::string ansys::dpf::CacheInformation::LevelAndDestination::_level_property

Type: const std::string

Variable _destination_property

const std::string ansys::dpf::CacheInformation::LevelAndDestination::_destination_property

Type: const std::string

Public functions

Function LevelAndDestination

ansys::dpf::CacheInformation::LevelAndDestination::LevelAndDestination(const Level level=Level::MIN_LEVEL, const Destination &destination=Destination::RAM)

Parameters:

  • const Level level = Level::MIN_LEVEL
  • const Destination & destination = Destination::RAM

Return type:

Function getLevel

int ansys::dpf::CacheInformation::LevelAndDestination::getLevel() const

Return type: int

Function getDestination

int ansys::dpf::CacheInformation::LevelAndDestination::getDestination() const

Return type: int

Function get

const DataTree & ansys::dpf::CacheInformation::LevelAndDestination::get() const

Return type: const DataTree &

Connect with Ansys