Geogram Version 1.10.2
A programming library of geometric algorithms
Loading...
Searching...
No Matches
psm.h File Reference

Some replacement functions for Geogram classes exposed in Pluggable Software Modules. More...

#include <assert.h>
#include <iostream>
#include <string>

Go to the source code of this file.

Namespaces

namespace  GEO
 Global Vorpaline namespace.

Macros

#define GEOGRAM_PSM
#define geo_assert(x)
#define geo_range_assert(x, min_val, max_val)
#define geo_assert_not_reached   assert(0)
#define geo_debug_assert(x)
#define geo_debug_range_assert(x, min_val, max_val)
#define geo_parano_assert(x)
#define geo_parano_range_assert(x, min_val, max_val)
#define geo_cite(x)
#define geo_cite_with_info(x, y)
#define FPG_UNCERTAIN_VALUE   0
#define GEOGRAM_WITH_PDEL

Functions

std::ostream & GEO::Logger::out (const std::string &name)
std::ostream & GEO::Logger::err (const std::string &name)
std::ostream & GEO::Logger::warn (const std::string &name)

Detailed Description

Some replacement functions for Geogram classes exposed in Pluggable Software Modules.

Definition in file psm.h.

Macro Definition Documentation

◆ FPG_UNCERTAIN_VALUE

#define FPG_UNCERTAIN_VALUE   0

Definition at line 114 of file psm.h.

◆ geo_assert

#define geo_assert ( x)
Value:
assert(x)

Definition at line 59 of file psm.h.

◆ geo_assert_not_reached

#define geo_assert_not_reached   assert(0)

Definition at line 62 of file psm.h.

◆ geo_cite

#define geo_cite ( x)

Definition at line 85 of file psm.h.

◆ geo_cite_with_info

#define geo_cite_with_info ( x,
y )

Definition at line 89 of file psm.h.

◆ geo_debug_assert

#define geo_debug_assert ( x)

Definition at line 69 of file psm.h.

◆ geo_debug_range_assert

#define geo_debug_range_assert ( x,
min_val,
max_val )

Definition at line 70 of file psm.h.

◆ geo_parano_assert

#define geo_parano_assert ( x)

Definition at line 78 of file psm.h.

◆ geo_parano_range_assert

#define geo_parano_range_assert ( x,
min_val,
max_val )

Definition at line 79 of file psm.h.

◆ geo_range_assert

#define geo_range_assert ( x,
min_val,
max_val )
Value:
assert((x) >= (min_val) && (x) <= (max_val))

Definition at line 60 of file psm.h.

◆ GEOGRAM_PSM

#define GEOGRAM_PSM

Definition at line 54 of file psm.h.

◆ GEOGRAM_WITH_PDEL

#define GEOGRAM_WITH_PDEL

Definition at line 117 of file psm.h.

Function Documentation

◆ err()

std::ostream & GEO::Logger::err ( const std::string & name)
inline

Definition at line 100 of file psm.h.

◆ out()

std::ostream & GEO::Logger::out ( const std::string & name)
inline

Definition at line 96 of file psm.h.

◆ warn()

std::ostream & GEO::Logger::warn ( const std::string & name)
inline

Definition at line 104 of file psm.h.