Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::Homogeneity Class Reference

Last update: 10.07.2023

User defined physical measurement quantity. More...

#include <dpf_api_base.h>

Public Member Functions

 Homogeneity (std::string const &name="Unknown")
 
 Homogeneity (Homogeneity const &)=default
 
 Homogeneity (Homogeneity &&)=default
 
Homogeneityoperator= (Homogeneity const &)
 
bool operator== (Homogeneity const &rhs) const
 
bool operator!= (Homogeneity const &rhs) const
 
 operator std::string () const
 
const char * c_str () const
 

Detailed Description

User defined physical measurement quantity.

Allows for the definition of a new measurement quantity. Many measurements quantities are predefined.

See also
homogeneities

Constructor & Destructor Documentation

◆ Homogeneity()

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

Create new homogeneity.

Parameters
[in]nameOptional name of homogeneity.

Member Function Documentation

◆ c_str()

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

Gets name of homogeneity.

Returns
Name of homogeneity.
Examples
ResultTest.cpp.

◆ operator std::string()

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

Name of homogeneity.