    

 ## On this page

  

 

 # ansys::dpf::PropertyType Struct Reference

 Last update: 16.07.2025 

User defined property type. [More...](structansys_1_1dpf_1_1PropertyType.xhtml#details)

`#include <dpf_api_base.h>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml#a8e5eb3fe693b3874c4c0c6bc472d4fc5) (std::string const &amp;name) <a id="a1edbf1016ba3f0f1ddf58928fd43441a" name="a1edbf1016ba3f0f1ddf58928fd43441a"></a> **PropertyType** ([PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml) const &amp;)=default <a id="a3d2c701a7fa239850799916427edccae" name="a3d2c701a7fa239850799916427edccae"></a>bool **operator==** ([PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml) const &amp;) const <a id="a836bd074dd3614d5f70d8e362e058802" name="a836bd074dd3614d5f70d8e362e058802"></a>bool **operator&lt;** ([PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml) const &amp;) const <a id="ad74f013eccde6dad34abf8e9743e085c" name="ad74f013eccde6dad34abf8e9743e085c"></a>bool **operator&lt;=** ([PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml) const &amp;) const <a id="a0c8f3b3685ac28b6fa46a263a561e5b0" name="a0c8f3b3685ac28b6fa46a263a561e5b0"></a>bool **operator!=** ([PropertyType](structansys_1_1dpf_1_1PropertyType.xhtml) const &amp;) const  [operator std::string](structansys_1_1dpf_1_1PropertyType.xhtml#a3d5716d1801fda4f945a6a89b4cdf0e3) () const const char \* [c\_str](structansys_1_1dpf_1_1PropertyType.xhtml#aaf60552ef91b8bc28eccb40557199dba) () const <a id="details" name="details"></a>## Detailed Description

User defined property type.

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

See also[property\_types](structansys_1_1dpf_1_1property__types.xhtml)

## Constructor &amp; Destructor Documentation

<a id="a8e5eb3fe693b3874c4c0c6bc472d4fc5" name="a8e5eb3fe693b3874c4c0c6bc472d4fc5"></a>## [◆ ](#a8e5eb3fe693b3874c4c0c6bc472d4fc5)PropertyType()

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

Create new property type.

Parameters \[in\]nameName of property type. 



## Member Function Documentation

<a id="aaf60552ef91b8bc28eccb40557199dba" name="aaf60552ef91b8bc28eccb40557199dba"></a>## [◆ ](#aaf60552ef91b8bc28eccb40557199dba)c\_str()

 const char \* ansys::dpf::PropertyType::c\_str  ( )  const

Gets name of property type.

ReturnsName of property type. 



<a id="a3d5716d1801fda4f945a6a89b4cdf0e3" name="a3d5716d1801fda4f945a6a89b4cdf0e3"></a>## [◆ ](#a3d5716d1801fda4f945a6a89b4cdf0e3)operator std::string()

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

Name of property type.