HSDS
 All Data Structures Namespaces Files Functions Variables Typedefs Friends Macros
Data Structures | Namespaces | Macros | Functions
exception.hpp File Reference

Implementation of Exception class. More...

#include <exception>
#include <stdexcept>
#include <iostream>
#include <string>
#include <stdint.h>

Go to the source code of this file.

Data Structures

class  hsds::Exception
 Exception class for HSDS libraries. More...
 

Namespaces

namespace  hsds
 The namespace for Hide's Succinct Data Structures.
 

Macros

#define HSDS_EXCEPTION_IF(cond__, message__)
 
#define HSDS_DEBUG_IF(cond__, message__)
 defined(HSDS_EXCEPTION_IF) More...
 

Functions

std::ostream & hsds::operator<< (std::ostream &os, hsds::Exception &e)
 

Detailed Description

Implementation of Exception class.

Author
Hideaki Ohno

Definition in file exception.hpp.

Macro Definition Documentation

#define HSDS_DEBUG_IF (   cond__,
  message__ 
)

defined(HSDS_EXCEPTION_IF)

Definition at line 34 of file exception.hpp.

#define HSDS_EXCEPTION_IF (   cond__,
  message__ 
)
Value:
if(cond__){ \
throw hsds::Exception(message__, __FILE__, __func__, __LINE__); \
}

Definition at line 24 of file exception.hpp.