Detailed Description

The AttributePGenGl class Class wrapping various global attributes of a FPGen.

Definition at line 37 of file pev_pgenerator.h.

#include <pev_pgenerator.h>

Public Member Functions

 AttributePGenGl (void)
 
 AttributePGenGl (const AttributePGenGl &rSrcAttr)
 
virtual ~AttributePGenGl (void)
 
void Fairness (const FairnessConstraints &rFair)
 
const FairnessConstraints & Fairness (void) const
 
void Clear (void)
 
bool IsDefault (void) const
 
- Public Member Functions inherited from faudes::AttrType
 AttrType (void)
 
 AttrType (const AttrType &rSrc)
 
virtual ~AttrType (void)
 
virtual std::string Str (void) const
 
Type & operator= (const Type &rSrc)
 
Type & operator= (Type &&rSrc)
 
bool operator== (const Type &rOther) const
 
bool operator!= (const Type &rOther) const
 
- Public Member Functions inherited from faudes::Type
 Type (void)
 
 Type (const Type &rType)
 
virtual ~Type (void)
 
virtual Type * New (void) const
 
virtual Type * NewCpy (void) const
 
virtual const Type * Cast (const Type *pOther) const
 
virtual Type & Copy (const Type &rSrc)
 
virtual Type & Move (Type &rSrc)
 
Type & operator= (const Type &rSrc)
 
Type & operator= (Type &&rSrc)
 
virtual bool Equal (const Type &rOther) const
 
bool operator== (const Type &rOther) const
 
bool operator!= (const Type &rOther) const
 
virtual void Name (const std::string &rName)
 
virtual const std::string & Name (void) const
 
virtual const std::string & TypeName (void) const
 
void Write (const Type *pContext=0) const
 
void Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const
 
void Write (const std::string &pFileName, std::ios::openmode openmode) const
 
void Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const
 
virtual void XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const
 
void XWrite (const Type *pContext=0) const
 
void XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const
 
std::string ToString (const std::string &rLabel="", const Type *pContext=0) const
 
std::string ToText (const std::string &rLabel="", const Type *pContext=0) const
 
void DWrite (const Type *pContext=0) const
 
void DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const
 
void DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const
 
void SWrite (TokenWriter &rTw) const
 
void SWrite (void) const
 
std::string ToSText (void) const
 
void Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0)
 
void Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0)
 
void FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0)
 

Protected Member Functions

void DoCopy (const AttributePGenGl &rSrcAttr)
 
void DoMove (AttributePGenGl &rSrcAttr)
 
bool DoEqual (const AttributePGenGl &rOther) const
 
virtual void DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=nullptr)
 
virtual void DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=nullptr) const
 
virtual void DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=nullptr) const
 
- Protected Member Functions inherited from faudes::AttrType
void DoCopy (const AttrType &rSrc)
 
bool DoEqual (const AttrType &rOther) const
 
- Protected Member Functions inherited from faudes::Type
void DoCopy (const Type &rSrc)
 
void DoMove (Type &rSrc)
 
bool DoEqual (const Type &rOther) const
 
virtual void DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const
 
virtual void DoSWrite (TokenWriter &rTw) const
 
virtual const TypeDefinition * TypeDefinitionp (void) const
 
virtual Token XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const
 

Protected Attributes

FairnessConstraints mFairCons
 mFairConst fairness constraints
 

Additional Inherited Members

- Static Public Member Functions inherited from faudes::AttrType
static void Skip (TokenReader &rTr)
 

Constructor & Destructor Documentation

◆ AttributePGenGl() [1/2]

faudes::AttributePGenGl::AttributePGenGl ( void  )

Default constructor

Definition at line 57 of file pev_pgenerator.cpp.

◆ AttributePGenGl() [2/2]

faudes::AttributePGenGl::AttributePGenGl ( const AttributePGenGl &  rSrcAttr)

Copy constructor

Definition at line 62 of file pev_pgenerator.cpp.

◆ ~AttributePGenGl()

virtual faudes::AttributePGenGl::~AttributePGenGl ( void  )
inlinevirtual

Destructor

Definition at line 53 of file pev_pgenerator.h.

Member Function Documentation

◆ Clear()

void faudes::AttributePGenGl::Clear ( void  )
inlinevirtual

Clear (mandatory for serialisation)

Reimplemented from faudes::Type.

Definition at line 62 of file pev_pgenerator.h.

◆ DoCopy()

void faudes::AttributePGenGl::DoCopy ( const AttributePGenGl &  rSrcAttr)
inlineprotected

Copyment method.

Parameters
rSrcAttrSource to assign from

Definition at line 76 of file pev_pgenerator.h.

◆ DoEqual()

bool faudes::AttributePGenGl::DoEqual ( const AttributePGenGl &  rOther) const
inlineprotected

Test equality of configuration data.

Parameters
rOtherOther attribute to compare with.
Returns
True on match.

Definition at line 94 of file pev_pgenerator.h.

◆ DoMove()

void faudes::AttributePGenGl::DoMove ( AttributePGenGl &  rSrcAttr)
inlineprotected

Copyment method.

Parameters
rSrcAttrSource to assign from

Definition at line 84 of file pev_pgenerator.h.

◆ DoRead()

void faudes::AttributePGenGl::DoRead ( TokenReader &  rTr,
const std::string &  rLabel = "",
const Type *  pContext = nullptr 
)
protectedvirtual

Reads attribute from TokenReader, see AttributeVoid for public wrappers. Label and Context argument are ignored.

Parameters
rTrTokenReader to read from
rLabelSection to read
pContextRead context to provide contextual information
Exceptions
Exception
  • IO error (id 1)

Reimplemented from faudes::Type.

Definition at line 67 of file pev_pgenerator.cpp.

◆ DoWrite()

void faudes::AttributePGenGl::DoWrite ( TokenWriter &  rTw,
const std::string &  rLabel = "",
const Type *  pContext = nullptr 
) const
protectedvirtual

Writes attribute to TokenWriter, see AttributeVoid for public wrappers. Label and Context argument are ignored.

Parameters
rTwTokenWriter to write to
rLabelSection to write
pContextWrite context to provide contextual information
Exceptions
Exception
  • IO error (id 2)

Reimplemented from faudes::Type.

Definition at line 77 of file pev_pgenerator.cpp.

◆ DoXWrite()

void faudes::AttributePGenGl::DoXWrite ( TokenWriter &  rTw,
const std::string &  rLabel = "",
const Type *  pContext = nullptr 
) const
protectedvirtual

Writes attribute to TokenWriter, see AttributeVoid for public wrappers. Label and Context argument are ignored.

Parameters
rTwTokenWriter to write to
rLabelSection to write
pContextWrite context to provide contextual information
Exceptions
Exception
  • IO error (id 2)

Reimplemented from faudes::Type.

Definition at line 84 of file pev_pgenerator.cpp.

◆ Fairness() [1/2]

void faudes::AttributePGenGl::Fairness ( const FairnessConstraints &  rFair)
inline

Access members

Definition at line 56 of file pev_pgenerator.h.

◆ Fairness() [2/2]

const FairnessConstraints & faudes::AttributePGenGl::Fairness ( void  ) const
inline

Definition at line 57 of file pev_pgenerator.h.

◆ IsDefault()

bool faudes::AttributePGenGl::IsDefault ( void  ) const
inlinevirtual

Test for default value

Reimplemented from faudes::AttrType.

Definition at line 67 of file pev_pgenerator.h.

Member Data Documentation

◆ mFairCons

FairnessConstraints faudes::AttributePGenGl::mFairCons
protected

mFairConst fairness constraints

Definition at line 148 of file pev_pgenerator.h.


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

libFAUDES 2.34g --- 2026.04.28 --- c++ api documentaion by doxygen