PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::ManipError Class Reference

#include <Manipulators.h>

+ Inheritance diagram for Puma::ManipError:

Public Types

enum  {
  UNBALANCED = -3 ,
  MACRO_GEN ,
  BAD_ARG ,
  FATAL ,
  OK
}
 

Public Member Functions

 ManipError ()
 
int errorno () const
 
Manipulatorfaulty () const
 
 operator bool () const
 
void errorno (int number)
 
void faulty (Manipulator *manip)
 
void print (std::ostream &os) const
 Print object information on the given output stream. More...
 
Location location ()
 
- Public Member Functions inherited from Puma::Printable
virtual ~Printable ()
 Destructor. More...
 
virtual void print (std::ostream &os) const =0
 Print object information on the given output stream. More...
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNBALANCED 
MACRO_GEN 
BAD_ARG 
FATAL 
OK 

Constructor & Destructor Documentation

◆ ManipError()

Puma::ManipError::ManipError ( )
inline

Member Function Documentation

◆ errorno() [1/2]

int Puma::ManipError::errorno ( ) const
inline

◆ errorno() [2/2]

void Puma::ManipError::errorno ( int  number)
inline

◆ faulty() [1/2]

Manipulator * Puma::ManipError::faulty ( ) const
inline

◆ faulty() [2/2]

void Puma::ManipError::faulty ( Manipulator manip)
inline

◆ location()

Location Puma::ManipError::location ( )

◆ operator bool()

Puma::ManipError::operator bool ( ) const
inline

◆ print()

void Puma::ManipError::print ( std::ostream &  os) const
virtual

Print object information on the given output stream.

To be implemented by concrete objects.

Parameters
osThe output stream.

Implements Puma::Printable.