Skip to main content

DPF Cpp Client Library 2026 R1

Structure ansys::dpf::QuantityType

Last update: 25.03.2026

User defined quantity type.

Allows for the definition of a new quantity type. Many quantity types are predefined.

See also: quantity_types

Members

Public functions

Function QuantityType

ansys::dpf::QuantityType::QuantityType(std::string const &name="")

Create new location.

Parameters:

  • std::string const & name = "" : [in] Optional name of quanty type.

Return type:

Function QuantityType

ansys::dpf::QuantityType::QuantityType(QuantityType const &)=default

Parameters:

  • QuantityType const &

Return type:

Function operator==

bool ansys::dpf::QuantityType::operator==(QuantityType const &) const

Parameters:

Return type: bool

Function operator<

bool ansys::dpf::QuantityType::operator<(QuantityType const &) const

Parameters:

Return type: bool

Function operator<=

bool ansys::dpf::QuantityType::operator<=(QuantityType const &) const

Parameters:

Return type: bool

Function operator!=

bool ansys::dpf::QuantityType::operator!=(QuantityType const &) const

Parameters:

Return type: bool

Function empty

bool ansys::dpf::QuantityType::empty() const

Return type: bool

Function c_str

const char * ansys::dpf::QuantityType::c_str() const

Gets name of quantity type. Returns:

Name of quantity type.

Return type: const char *

Connect with Ansys