Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::QuantityType Struct Reference

Last update: 10.07.2023

User defined quantity type. More...

#include <dpf_api_base.h>

Public Member Functions

 QuantityType (std::string const &name="")
 
 QuantityType (QuantityType const &)=default
 
bool operator== (QuantityType const &) const
 
bool operator< (QuantityType const &) const
 
bool operator<= (QuantityType const &) const
 
bool operator!= (QuantityType const &) const
 
 operator std::string () const
 
bool empty () const
 
const char * c_str () const
 

Detailed Description

User defined quantity type.

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

See also
quantity_types

Constructor & Destructor Documentation

◆ QuantityType()

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

Create new location.

Parameters
[in]nameOptional name of quanty type.

Member Function Documentation

◆ c_str()

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

Gets name of quantity type.

Returns
Name of quantity type.

◆ operator std::string()

ansys::dpf::QuantityType::operator std::string ( ) const

Name of quantity type.