MorphoGraphX  2.0-1-227
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mgx::Process::CheckState Class Reference

#include <Process.hpp>

Classes

struct  ProcessReqs
 

Public Member Functions

 CheckState (const CheckState &copy)
 
 CheckState (Process *process)
 
CheckStatestore (int checks=STORE_ANY, int which=CHECK_CURRENT)
 Add a check for a store. More...
 
CheckStatestack (int checks=STACK_ANY, int which=CHECK_CURRENT)
 Add a check for a stack. More...
 
CheckStatemesh (int checks=MESH_ANY, int which=CHECK_CURRENT)
 Add a check for a mesh. More...
 
 operator bool ()
 A CheckState object converts to true if the checks hold on the current process. More...
 

Protected Member Functions

void setError ()
 

Protected Attributes

QList< ProcessReqsreqs
 
Processprocess
 

Detailed Description

Class that construct a state check on the current process.

Definition at line 688 of file Process.hpp.

Constructor & Destructor Documentation

◆ CheckState() [1/2]

mgx::Process::CheckState::CheckState ( const CheckState copy)

◆ CheckState() [2/2]

mgx::Process::CheckState::CheckState ( Process process)

Member Function Documentation

◆ mesh()

CheckState& mgx::Process::CheckState::mesh ( int  checks = MESH_ANY,
int  which = CHECK_CURRENT 
)

Add a check for a mesh.

◆ operator bool()

mgx::Process::CheckState::operator bool ( )

A CheckState object converts to true if the checks hold on the current process.

◆ setError()

void mgx::Process::CheckState::setError ( )
protected

◆ stack()

CheckState& mgx::Process::CheckState::stack ( int  checks = STACK_ANY,
int  which = CHECK_CURRENT 
)

Add a check for a stack.

◆ store()

CheckState& mgx::Process::CheckState::store ( int  checks = STORE_ANY,
int  which = CHECK_CURRENT 
)

Add a check for a store.

Member Data Documentation

◆ process

Process* mgx::Process::CheckState::process
protected

Definition at line 721 of file Process.hpp.

◆ reqs

QList<ProcessReqs> mgx::Process::CheckState::reqs
protected

Definition at line 720 of file Process.hpp.


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