Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
Model::Attribute Class Reference

Public Member Functions

 Attribute ()
 
 Attribute (QString name)
 Used for comparisons only. More...
 
 Attribute (QString name, QString type, bool optional, bool partial, bool persistent)
 
const QString & name () const
 
bool operator== (const Attribute &other) const
 
bool optional () const
 
bool partial () const
 
bool persistent () const
 
const QString & type () const
 

Private Attributes

QString name_
 
bool optional_
 
bool partial_
 
bool persistent_
 
QString type_
 

Constructor & Destructor Documentation

◆ Attribute() [1/3]

Model::Attribute::Attribute ( )

◆ Attribute() [2/3]

Model::Attribute::Attribute ( QString  name,
QString  type,
bool  optional,
bool  partial,
bool  persistent 
)

◆ Attribute() [3/3]

Model::Attribute::Attribute ( QString  name)

Used for comparisons only.

Member Function Documentation

◆ name()

const QString & Model::Attribute::name ( ) const

◆ operator==()

bool Model::Attribute::operator== ( const Attribute other) const

◆ optional()

bool Model::Attribute::optional ( ) const

◆ partial()

bool Model::Attribute::partial ( ) const

◆ persistent()

bool Model::Attribute::persistent ( ) const

◆ type()

const QString & Model::Attribute::type ( ) const

Member Data Documentation

◆ name_

QString Model::Attribute::name_
private

◆ optional_

bool Model::Attribute::optional_
private

◆ partial_

bool Model::Attribute::partial_
private

◆ persistent_

bool Model::Attribute::persistent_
private

◆ type_

QString Model::Attribute::type_
private