FountainErrors.cpp File Reference

FountainException class method implementations. More...

#include "define.h"
#include "FountainErrors.h"
#include <string>
#include <stdexcept>
#include <cstddef>
#include <ostream>

Include dependency graph for FountainErrors.cpp:

Go to the source code of this file.

Functions

ostreamoperator<< (std::ostream &output, const FountainException &rhs)
bool fountain_convert (const char *s, FountainErrorCode &t)
 Convert a string into an enum.
const char * fountain_convert (FountainErrorCode t)
 Convert a FountainErrorCode enum into a string.


Detailed Description

FountainException class method implementations.

Definition in file FountainErrors.cpp.


Function Documentation

const char* fountain_convert FountainErrorCode  t  ) 
 

Convert a FountainErrorCode enum into a string.

Return values:
char* pointer to a static string with the enum value, returns NULL if the conversion failed.

Definition at line 67 of file FountainErrors.cpp.

bool fountain_convert const char *  s,
FountainErrorCode t
 

Convert a string into an enum.

Parameters:
[in] s The string to convert
[out] t the resulting enum value
Precondition:
Assigned(s), Assigned(t)
Return values:
bool True if the conversion was successful, false otherwise

Definition at line 28 of file FountainErrors.cpp.


Generated on Sat Oct 21 22:51:28 2006 for Fountain by  doxygen 1.4.6