Constants.hpp File Reference

Header for GeographicLib::Constants class. More...

#include <GeographicLib/Config.h>
#include <stdexcept>
#include <string>
#include <GeographicLib/Math.hpp>

Go to the source code of this file.

Classes

class  GeographicLib::Constants
 Constants needed by GeographicLib More...
class  GeographicLib::GeographicErr
 Exception handling for GeographicLib. More...

Namespaces

namespace  GeographicLib
 

Namespace for GeographicLib.


Defines

#define GEOGRAPHICLIB_CONSTANTS_HPP   1
#define GEOGRAPHICLIB_VERSION_NUM(a, b, c)   ((((a) * 10000 + (b)) * 100) + (c))
#define GEOGRAPHICLIB_VERSION
#define GEOGRAPHICLIB_STATIC_ASSERT(cond, reason)   { enum{ GEOGRAPHICLIB_STATIC_ASSERT_ENUM = 1/int(cond) }; }
#define GEOGRAPHICLIB_EXPORT

Detailed Description

Header for GeographicLib::Constants class.

Copyright (c) Charles Karney (2008-2011) <charles@karney.com> and licensed under the MIT/X11 License. For more information, see http://geographiclib.sourceforge.net/

Definition in file Constants.hpp.


Define Documentation

#define GEOGRAPHICLIB_CONSTANTS_HPP   1

Definition at line 11 of file Constants.hpp.

#define GEOGRAPHICLIB_VERSION_NUM ( a,
b,
 )     ((((a) * 10000 + (b)) * 100) + (c)) [related]

Pack the version components into a single integer.

Definition at line 19 of file Constants.hpp.

#define GEOGRAPHICLIB_VERSION [related]
Value:
GEOGRAPHICLIB_VERSION_NUM(GEOGRAPHICLIB_VERSION_MAJOR, \
                           GEOGRAPHICLIB_VERSION_MINOR, \
                           GEOGRAPHICLIB_VERSION_PATCH)

The version of GeographicLib as a single integer, packed as MMmmmmpp where MM is the major version, mmmm is the minor version, and pp is the patch level.

Definition at line 27 of file Constants.hpp.

#define GEOGRAPHICLIB_STATIC_ASSERT ( cond,
reason   )     { enum{ GEOGRAPHICLIB_STATIC_ASSERT_ENUM = 1/int(cond) }; } [related]
#define GEOGRAPHICLIB_EXPORT

Definition at line 70 of file Constants.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 6 Oct 2014 for GeographicLib by  doxygen 1.6.1