Defines
stoc.cpp File Reference
#include "stoc.h"
#include <SVS/svsclass.h>
Include dependency graph for stoc.cpp:

Go to the source code of this file.

Defines

#define STOC_EXCEPT(except, msg)
 Macro for throwing an exception with a message.
#define STOC_EXCEPT_ARGS(except, msg,...)
 Macro for throwing an exception with a message, passing args.

Define Documentation

#define STOC_EXCEPT (   except,
  msg 
)
Value:
{ \
    char buf[100]; \
    snprintf(buf, 100, "[STOC::%s]: " msg, __FUNCTION__); \
    throw except(buf); \
  }

Macro for throwing an exception with a message.

Definition at line 39 of file stoc.cpp.

#define STOC_EXCEPT_ARGS (   except,
  msg,
  ... 
)
Value:
{ \
    char buf[100]; \
    snprintf(buf, 100, "[STOC::%s]: " msg, __FUNCTION__, __VA_ARGS__); \
    throw except(buf); \
  }

Macro for throwing an exception with a message, passing args.

Definition at line 47 of file stoc.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


stoc_driver
Author(s): Radu Bogdan Rusu (rusu@cs.tum.edu)
autogenerated on Thu May 23 2013 12:11:23