Version: 6.3.1
Data Structures | Defines | Functions

src/DSC/DSC_User/DSC_Exception.hxx File Reference

#include "Utils_SALOME_Exception.hxx"
#include <string>
#include <iostream>
#include <sstream>
#include <memory>
#include "utilities.h"
#include <string.h>
Include dependency graph for DSC_Exception.hxx:

Go to the source code of this file.

Data Structures

class  OSS
 Class OSS is useful when streaming data through a function that expect a string as parameter. More...
struct  DSC_Exception

Defines

#define LOC(message)   (message)
#define DSC_EXCEPTION(Derived)
#define DSC_EXCEPTION_CXX(NameSpace, Derived)   NameSpace::Derived::~Derived(void) throw() {};

Functions

const charmakeText (const char *text, const char *fileName, const unsigned int lineNumber)

Define Documentation

#define LOC (   message)    (message)
#define DSC_EXCEPTION (   Derived)
Value:
struct Derived : public DSC_Exception { \
  Derived ( const std::string & text, const char *fileName="", const unsigned int lineNumber=0, const char *funcName="" \
            ) : DSC_Exception(text,fileName,lineNumber,funcName) {      \
    _exceptionName = #Derived; \
  } \
    virtual ~Derived(void) throw();\
};\
#define DSC_EXCEPTION_CXX (   NameSpace,
  Derived 
)    NameSpace::Derived::~Derived(void) throw() {};

Function Documentation

const char* makeText ( const char text,
const char fileName,
const unsigned int  lineNumber 
)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS