SASSY  0.0
Software Architecture Support System
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
SASSY Namespace Reference

The namespace for the Software Architecture Support System project. More...

Namespaces

 cdi
 The namespace for the Common Development Infrastructure.
 
 cfi
 The namespace for the Common Facilities Infrastructure components.
 

Classes

class  Path
 Manipulate path strings. More...
 
class  sxt
 An exception object with severity levels. More...
 

Typedefs

typedef void(* AsyncTestEventFn )(const std::string &s)
 Pointer to function used to enqueue a test event. More...
 

Enumerations

enum  Severity {
  Emergency, Alert, Critical, Error,
  Code, Warning, Notice, Info,
  Debug
}
 Severity levels for log messages. More...
 

Functions

void trim (std::string &s)
 rip off leading and trailing white spaces More...
 
int split (csr text, std::vector< std::string > &result)
 split a string into sub-strings at spaces More...
 
std::string expandMacros (csr s)
 expand a string containing $ macros More...
 
void defaultAsyncTestEvent (const std::string &s)
 Function used to enqueue a test event. More...
 

Variables

AsyncTestEventFn asyncTestEvent = SASSY::defaultAsyncTestEvent
 Pointer to function used to enqueue a test event.
 

Detailed Description

The namespace for the Software Architecture Support System project.

The namespace for the project.

Typedef Documentation

typedef void(* SASSY::AsyncTestEventFn)(const std::string &s)

Pointer to function used to enqueue a test event.

Parameters
sIdentity of the event.

Enumeration Type Documentation

Severity levels for log messages.

Enumerator
Emergency 

A fault has been detected which may compromise the computer.

Alert 

A configuration error has been detected.

Critical 

The program cannot continue and may have corrupted its data.

Error 

The program cannot continue.

Code 

A programming error has been detected.

Warning 

There is a problem but the program can continue.

Notice 

Something is odd.

Info 

Information messages.

Debug 

Debugging messages.

Function Documentation

void SASSY::defaultAsyncTestEvent ( const std::string &  s)

Function used to enqueue a test event.

The default function is defined in cfi/log.cpp and soes nothing

Parameters
sIdentity of the event.
string SASSY::expandMacros ( csr  s)

expand a string containing $ macros

Parameters
sThe string to expand.
Returns
A string with $ macros replaced.
int SASSY::split ( csr  text,
std::vector< std::string > &  result 
)

split a string into sub-strings at spaces

Parameters
textthe string to split
resultthe vector of sub strings
Returns
a number of sub-strings
void SASSY::trim ( std::string &  s)

rip off leading and trailing white spaces

Parameters
sthe string to trim