Developer Documentation
PropertyInfo Class Reference

Cellection of information about a property. More...

#include <Plugin-PropertyVis/Utils.hh>

Public Types

enum  ENTITY_FILTER {
  EF_ANY = 0xFF , EF_FACE = 0x01 , EF_EDGE = 0x02 , EF_HALFEDGE = 0x04 ,
  EF_VERTEX = 0x08 , EF_HALFFACE = 0x10 , EF_CELL = 0x20
}
 

Public Member Functions

 PropertyInfo (const std::string &propName, const TypeInfoWrapper &typeinfo, ENTITY_FILTER entity)
 
QString toString () const
 
bool operator== (const PropertyInfo &rhs) const
 
bool operator< (const PropertyInfo &rhs) const
 
bool isCellProp () const
 
bool isFaceProp () const
 
bool isHalffaceProp () const
 
bool isEdgeProp () const
 
bool isHalfedgeProp () const
 
bool isVertexProp () const
 
const std::string & propName () const
 
const char * friendlyTypeName () const
 
const TypeInfoWrappertypeinfo () const
 
ENTITY_FILTER entityType () const
 

Static Public Member Functions

static const char * entity2str (ENTITY_FILTER entity)
 Returns a symbol representation for an entity. More...
 

Private Attributes

std::string propName_
 
TypeInfoWrapper typeinfo_
 
ENTITY_FILTER entity
 

Detailed Description

Cellection of information about a property.

This class combines all the interesting information about a property. It stores the entity type (Vertex, Edge, ...), the properties name and its type.

Definition at line 109 of file Utils.hh.

Member Enumeration Documentation

◆ ENTITY_FILTER

enum PropertyInfo::ENTITY_FILTER

Definition at line 111 of file Utils.hh.

Constructor & Destructor Documentation

◆ PropertyInfo()

PropertyInfo::PropertyInfo ( const std::string &  propName,
const TypeInfoWrapper typeinfo,
ENTITY_FILTER  entity 
)
inline

Definition at line 124 of file Utils.hh.

Member Function Documentation

◆ entity2str()

const char * PropertyInfo::entity2str ( ENTITY_FILTER  entity)
static

Returns a symbol representation for an entity.

Definition at line 48 of file Utils.cc.

◆ entityType()

ENTITY_FILTER PropertyInfo::entityType ( ) const
inline

Definition at line 154 of file Utils.hh.

◆ friendlyTypeName()

const char * PropertyInfo::friendlyTypeName ( ) const
inline

Definition at line 152 of file Utils.hh.

◆ isCellProp()

bool PropertyInfo::isCellProp ( ) const
inline

Definition at line 144 of file Utils.hh.

◆ isEdgeProp()

bool PropertyInfo::isEdgeProp ( ) const
inline

Definition at line 147 of file Utils.hh.

◆ isFaceProp()

bool PropertyInfo::isFaceProp ( ) const
inline

Definition at line 145 of file Utils.hh.

◆ isHalfedgeProp()

bool PropertyInfo::isHalfedgeProp ( ) const
inline

Definition at line 148 of file Utils.hh.

◆ isHalffaceProp()

bool PropertyInfo::isHalffaceProp ( ) const
inline

Definition at line 146 of file Utils.hh.

◆ isVertexProp()

bool PropertyInfo::isVertexProp ( ) const
inline

Definition at line 149 of file Utils.hh.

◆ operator<()

bool PropertyInfo::operator< ( const PropertyInfo rhs) const
inline

Definition at line 135 of file Utils.hh.

◆ operator==()

bool PropertyInfo::operator== ( const PropertyInfo rhs) const
inline

Definition at line 131 of file Utils.hh.

◆ propName()

const std::string & PropertyInfo::propName ( ) const
inline

Definition at line 151 of file Utils.hh.

◆ toString()

QString PropertyInfo::toString ( ) const
inline

Definition at line 127 of file Utils.hh.

◆ typeinfo()

const TypeInfoWrapper & PropertyInfo::typeinfo ( ) const
inline

Definition at line 153 of file Utils.hh.

Member Data Documentation

◆ entity

ENTITY_FILTER PropertyInfo::entity
private

Definition at line 159 of file Utils.hh.

◆ propName_

std::string PropertyInfo::propName_
private

Definition at line 157 of file Utils.hh.

◆ typeinfo_

TypeInfoWrapper PropertyInfo::typeinfo_
private

Definition at line 158 of file Utils.hh.


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