Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::PropertyType Struct Reference

Last update: 10.07.2023

User defined property type. More...

#include <dpf_api_base.h>

Public Member Functions

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

Detailed Description

User defined property type.

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

See also
property_types

Constructor & Destructor Documentation

◆ PropertyType()

ansys::dpf::PropertyType::PropertyType ( std::string const &  name)
explicit

Create new property type.

Parameters
[in]nameName of property type.

Member Function Documentation

◆ c_str()

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

Gets name of property type.

Returns
Name of property type.

◆ operator std::string()

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

Name of property type.