Skip to main content

DPF Cpp Client Library 2026 R1

Structure ansys::dpf::Location

Last update: 25.03.2026

User defined location quantity.

The location is the type of topology associated with the data container. This allows for the definition of a new location quantity. Many location quantities are predefined.

See also: locations

Members

Public functions

Function Location

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

Create new location.

Parameters:

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

Return type:

Function Location

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

Parameters:

  • Location const &

Return type:

Function operator==

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

Parameters:

Return type: bool

Function operator<

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

Parameters:

Return type: bool

Function operator<=

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

Parameters:

Return type: bool

Function operator!=

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

Parameters:

Return type: bool

Function empty

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

Return type: bool

Function c_str

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

Gets name of location. Returns:

Name of location.

Return type: const char *

Connect with Ansys