ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Common.h File Reference
#include <iomanip>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include "E57Format.h"
Include dependency graph for Common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 e57
 

Macros

#define E57_INTERNAL_IMPLEMENTATION_ENABLE   1
 
#define E57_DEBUG   1
 
#define E57_EXCEPTION1(ecode)    ( E57Exception( ( ecode ), ustring(), __FILE__, __LINE__, static_cast<const char *>( __FUNCTION__ ) ) )
 !! inline these rather than macros? More...
 
#define E57_EXCEPTION2(ecode, context)    ( E57Exception( ( ecode ), ( context ), __FILE__, __LINE__, static_cast<const char *>( __FUNCTION__ ) ) )
 

Typedefs

using e57::ImageFileImplSharedPtr = std::shared_ptr< class ImageFileImpl >
 
using e57::ImageFileImplWeakPtr = std::weak_ptr< class ImageFileImpl >
 
using e57::NodeImplSharedPtr = std::shared_ptr< class NodeImpl >
 
using e57::NodeImplWeakPtr = std::weak_ptr< class NodeImpl >
 
using e57::StringList = std::vector< std::string >
 
using e57::StringSet = std::set< std::string >
 

Functions

std::string e57::space (size_t n)
 
template<class T >
std::string e57::toString (T x)
 
std::string e57::hexString (uint64_t x)
 
std::string e57::hexString (uint32_t x)
 
std::string e57::hexString (uint16_t x)
 
std::string e57::hexString (uint8_t x)
 
std::string e57::binaryString (uint64_t x)
 
std::string e57::binaryString (uint32_t x)
 
std::string e57::binaryString (uint16_t x)
 
std::string e57::binaryString (uint8_t x)
 
std::string e57::hexString (int64_t x)
 
std::string e57::hexString (int32_t x)
 
std::string e57::hexString (int16_t x)
 
std::string e57::hexString (int8_t x)
 
std::string e57::binaryString (int64_t x)
 
std::string e57::binaryString (int32_t x)
 
std::string e57::binaryString (int16_t x)
 
std::string e57::binaryString (int8_t x)
 
std::string e57::generateRandomGUID ()
 generates a new random GUID More...
 

Macro Definition Documentation

◆ E57_DEBUG

#define E57_DEBUG   1

Definition at line 45 of file Common.h.

◆ E57_EXCEPTION1

#define E57_EXCEPTION1 (   ecode)     ( E57Exception( ( ecode ), ustring(), __FILE__, __LINE__, static_cast<const char *>( __FUNCTION__ ) ) )

!! inline these rather than macros?

Definition at line 66 of file Common.h.

◆ E57_EXCEPTION2

#define E57_EXCEPTION2 (   ecode,
  context 
)     ( E57Exception( ( ecode ), ( context ), __FILE__, __LINE__, static_cast<const char *>( __FUNCTION__ ) ) )

Definition at line 68 of file Common.h.

◆ E57_INTERNAL_IMPLEMENTATION_ENABLE

#define E57_INTERNAL_IMPLEMENTATION_ENABLE   1

Definition at line 39 of file Common.h.