SHAPER  9.12.0
ModelAPI_FiltersArgs Class Reference

definition of arguments of filters: id of the argument to attributes More...

Public Member Functions

void setFilter (const std::string &theFilterID)
 Sets the current filter ID. More...
 
void setFeature (const FiltersFeaturePtr theFeature)
 Sets the current feature. More...
 
void add (AttributePtr theAttribute)
 Appends an argument of a filter. More...
 
AttributePtr argument (const std::string &theID) const
 returns the argument of the current filter by the argument id More...
 
std::shared_ptr< ModelAPI_AttributeinitAttribute (const std::string &theID, const std::string theAttrType)
 adds an attribute of the filter More...
 

Detailed Description

definition of arguments of filters: id of the argument to attributes

Member Function Documentation

◆ setFilter()

void ModelAPI_FiltersArgs::setFilter ( const std::string &  theFilterID)
inline

Sets the current filter ID.

◆ setFeature()

void ModelAPI_FiltersArgs::setFeature ( const FiltersFeaturePtr  theFeature)
inline

Sets the current feature.

◆ add()

void ModelAPI_FiltersArgs::add ( AttributePtr  theAttribute)
inline

Appends an argument of a filter.

◆ argument()

AttributePtr ModelAPI_FiltersArgs::argument ( const std::string &  theID) const
inline

returns the argument of the current filter by the argument id

◆ initAttribute()

std::shared_ptr<ModelAPI_Attribute> ModelAPI_FiltersArgs::initAttribute ( const std::string &  theID,
const std::string  theAttrType 
)
inline

adds an attribute of the filter