Topologic  0.8.9
Public Member Functions | Protected Member Functions | List of all members
Topologic::Attributes::DoubleAttributeFactory Class Reference

(private) A factory class to create a double Attribute. More...

#include <DoubleAttributeFactory.h>

Inheritance diagram for Topologic::Attributes::DoubleAttributeFactory:
Topologic::Attributes::AttributeFactory

Public Member Functions

virtual AttributeCreate (String^ key, Object^ value) override
 Creates an Attribute from a key and a value. More...
 
virtual bool CheckType (Type^ type) override
 Checks the type of the value. More...
 

Protected Member Functions

virtual bool CheckType (const std::shared_ptr< TopologicCore::Attribute > &kpUtilitiesAttribute) override
 
virtual Object ^ CreateValue (const std::shared_ptr< TopologicCore::Attribute > &kpUtilitiesAttribute) override
 

Detailed Description

(private) A factory class to create a double Attribute.

Member Function Documentation

◆ CheckType()

virtual bool Topologic::Attributes::DoubleAttributeFactory::CheckType ( Type^  type)
overridevirtual

Checks the type of the value.

Parameters
typeThe type
Returns
True if the value is of the correct type, otherwise false

Implements Topologic::Attributes::AttributeFactory.

◆ Create()

Attribute Topologic::Attributes::DoubleAttributeFactory::Create ( String^  key,
Object^  value 
)
overridevirtual

Creates an Attribute from a key and a value.

Parameters
keyA key
valueA value
Returns
The created Attribute

Implements Topologic::Attributes::AttributeFactory.


The documentation for this class was generated from the following files: