e57 Namespace Reference

Namespaces

namespace  Utilities
 

Classes

class  BitpackDecoder
 
class  BitpackEncoder
 
class  BitpackFloatDecoder
 
class  BitpackFloatEncoder
 
class  BitpackIntegerDecoder
 
class  BitpackIntegerEncoder
 
class  BitpackStringDecoder
 
class  BitpackStringEncoder
 
class  BlobNode
 
class  BlobNodeImpl
 
struct  BlobSectionHeader
 
class  BufferView
 Tool class to read buffer efficiently without multiplying copy operations. More...
 
struct  CartesianBounds
 Specifies an axis-aligned box in local cartesian coordinates. More...
 
class  CheckedFile
 
struct  ColorLimits
 Specifies the limits for the value of red, green, and blue color that a sensor is capable of producing. More...
 
class  CompressedVectorNode
 
class  CompressedVectorNodeImpl
 
class  CompressedVectorReader
 
class  CompressedVectorReaderImpl
 
struct  CompressedVectorSectionHeader
 
class  CompressedVectorWriter
 
class  CompressedVectorWriterImpl
 
class  ConstantIntegerDecoder
 
class  ConstantIntegerEncoder
 
struct  CylindricalRepresentation
 Stores an image that is mapped from 3D using a cylindrical projection model. More...
 
struct  Data3D
 Stores the top-level information for a single lidar scan. More...
 
struct  Data3DPointsData_t
 Stores pointers to user-provided buffers. More...
 
class  DataPacket
 
class  DataPacketHeader
 
struct  DateTime
 Encodes date and time. More...
 
struct  DecodeChannel
 
class  Decoder
 
class  E57Exception
 Object thrown by E57 API functions to communicate the conditions of an error. More...
 
struct  E57FileHeader
 
struct  E57Root
 Stores the top-level information for the XML section of the file. More...
 
class  E57XmlFileInputSource
 
class  E57XmlParser
 
class  Encoder
 
class  FloatNode
 
class  FloatNodeImpl
 
struct  GroupingByLine
 Stores a set of point groups organized by the rowIndex or columnIndex attribute of the PointRecord. More...
 
struct  Image2D
 Stores an image from a camera. More...
 
class  ImageFile
 
class  ImageFileImpl
 
struct  IndexBounds
 Stores the minimum and maximum of rowIndex, columnIndex, and returnIndex fields for a set of points. More...
 
class  IntegerNode
 
class  IntegerNodeImpl
 
struct  IntensityLimits
 Specifies the limits for the value of signal intensity that a sensor is capable of producing. More...
 
struct  LineGroupRecord
 Stores information about a single group of points in a row or column. More...
 
struct  NameSpace
 
class  Node
 
class  NodeImpl
 
class  PacketLock
 
class  PacketReadCache
 
struct  PinholeRepresentation
 Stores an image that is mapped from 3D using the pinhole camera projection model. More...
 
struct  PointGroupingSchemes
 Supports the division of points within an Data3D into logical groupings. More...
 
struct  PointStandardizedFieldsAvailable
 Used to interrogate if standardized fields are available. More...
 
struct  Quaternion
 Represents a rigid body rotation. More...
 
class  Reader
 Used for reading of the E57 file with E57 Simple API. More...
 
class  ReaderImpl
 most of the functions follows Reader More...
 
struct  RigidBodyTransform
 Defines a rigid body transform in cartesian coordinates. More...
 
class  ScaledIntegerNode
 
class  ScaledIntegerNodeImpl
 
struct  SortByBytestreamNumber
 
class  SourceDestBuffer
 
class  SourceDestBufferImpl
 
struct  SphericalBounds
 Stores the bounds of some data in spherical coordinates. More...
 
struct  SphericalRepresentation
 Stores an image that is mapped from 3D using a spherical projection model. More...
 
class  StringNode
 
class  StringNodeImpl
 
class  StructureNode
 
class  StructureNodeImpl
 
struct  Translation
 Defines a rigid body translation in Cartesian coordinates. More...
 
class  VectorNode
 
class  VectorNodeImpl
 
struct  VisualReferenceRepresentation
 Stores an image that is to be used only as a visual reference. More...
 
class  Writer
 Used for writing of the E57 file with E57 Simple API. More...
 
class  WriterImpl
 most of the functions follows Writer More...
 

Typedefs

typedef Data3DPointsData_t< float > Data3DPointsData
 
typedef Data3DPointsData_t< double > Data3DPointsData_d
 
using ImageFileImplSharedPtr = std::shared_ptr< class ImageFileImpl >
 
using ImageFileImplWeakPtr = std::weak_ptr< class ImageFileImpl >
 
using NodeImplSharedPtr = std::shared_ptr< class NodeImpl >
 
using NodeImplWeakPtr = std::weak_ptr< class NodeImpl >
 
using ReadChecksumPolicy = int
 Specifies the percentage of checksums which are verified when reading an ImageFile (0-100%). More...
 
using StringList = std::vector< std::string >
 
using StringSet = std::set< std::string >
 
using ustring = std::string
 UTF-8 encodeded Unicode string. More...
 

Enumerations

enum  { INDEX_PACKET = 0 , DATA_PACKET , EMPTY_PACKET }
 Packet types (in a compressed vector section) More...
 
enum  { BLOB_SECTION = 0 , COMPRESSED_VECTOR_SECTION }
 
enum  ErrorCode {
  E57_SUCCESS = 0 , E57_ERROR_BAD_CV_HEADER = 1 , E57_ERROR_BAD_CV_PACKET = 2 , E57_ERROR_CHILD_INDEX_OUT_OF_BOUNDS = 3 ,
  E57_ERROR_SET_TWICE = 4 , E57_ERROR_HOMOGENEOUS_VIOLATION = 5 , E57_ERROR_VALUE_NOT_REPRESENTABLE = 6 , E57_ERROR_SCALED_VALUE_NOT_REPRESENTABLE = 7 ,
  E57_ERROR_REAL64_TOO_LARGE = 8 , E57_ERROR_EXPECTING_NUMERIC = 9 , E57_ERROR_EXPECTING_USTRING = 10 , E57_ERROR_INTERNAL = 11 ,
  E57_ERROR_BAD_XML_FORMAT = 12 , E57_ERROR_XML_PARSER = 13 , E57_ERROR_BAD_API_ARGUMENT = 14 , E57_ERROR_FILE_IS_READ_ONLY = 15 ,
  E57_ERROR_BAD_CHECKSUM = 16 , E57_ERROR_OPEN_FAILED = 17 , E57_ERROR_CLOSE_FAILED = 18 , E57_ERROR_READ_FAILED = 19 ,
  E57_ERROR_WRITE_FAILED = 20 , E57_ERROR_LSEEK_FAILED = 21 , E57_ERROR_PATH_UNDEFINED = 22 , E57_ERROR_BAD_BUFFER = 23 ,
  E57_ERROR_NO_BUFFER_FOR_ELEMENT = 24 , E57_ERROR_BUFFER_SIZE_MISMATCH = 25 , E57_ERROR_BUFFER_DUPLICATE_PATHNAME = 26 , E57_ERROR_BAD_FILE_SIGNATURE = 27 ,
  E57_ERROR_UNKNOWN_FILE_VERSION = 28 , E57_ERROR_BAD_FILE_LENGTH = 29 , E57_ERROR_XML_PARSER_INIT = 30 , E57_ERROR_DUPLICATE_NAMESPACE_PREFIX = 31 ,
  E57_ERROR_DUPLICATE_NAMESPACE_URI = 32 , E57_ERROR_BAD_PROTOTYPE = 33 , E57_ERROR_BAD_CODECS = 34 , E57_ERROR_VALUE_OUT_OF_BOUNDS = 35 ,
  E57_ERROR_CONVERSION_REQUIRED = 36 , E57_ERROR_BAD_PATH_NAME = 37 , E57_ERROR_NOT_IMPLEMENTED = 38 , E57_ERROR_BAD_NODE_DOWNCAST = 39 ,
  E57_ERROR_WRITER_NOT_OPEN = 40 , E57_ERROR_READER_NOT_OPEN = 41 , E57_ERROR_NODE_UNATTACHED = 42 , E57_ERROR_ALREADY_HAS_PARENT = 43 ,
  E57_ERROR_DIFFERENT_DEST_IMAGEFILE = 44 , E57_ERROR_IMAGEFILE_NOT_OPEN = 45 , E57_ERROR_BUFFERS_NOT_COMPATIBLE = 46 , E57_ERROR_TOO_MANY_WRITERS = 47 ,
  E57_ERROR_TOO_MANY_READERS = 48 , E57_ERROR_BAD_CONFIGURATION = 49 , E57_ERROR_INVARIANCE_VIOLATION = 50
}
 Numeric error identifiers used in E57Exception. More...
 
enum  FloatPrecision { E57_SINGLE = 1 , E57_DOUBLE = 2 }
 The IEEE floating point number precisions supported. More...
 
enum  Image2DProjection {
  E57_NO_PROJECTION = 0 , E57_VISUAL = 1 , E57_PINHOLE = 2 , E57_SPHERICAL = 3 ,
  E57_CYLINDRICAL = 4
}
 Identifies the representation for the image data. More...
 
enum  Image2DType { E57_NO_IMAGE = 0 , E57_JPEG_IMAGE = 1 , E57_PNG_IMAGE = 2 , E57_PNG_IMAGE_MASK = 3 }
 Identifies the format representation for the image data. More...
 
enum  MemoryRepresentation {
  E57_INT8 = 1 , E57_UINT8 = 2 , E57_INT16 = 3 , E57_UINT16 = 4 ,
  E57_INT32 = 5 , E57_UINT32 = 6 , E57_INT64 = 7 , E57_BOOL = 8 ,
  E57_REAL32 = 9 , E57_REAL64 = 10 , E57_USTRING = 11
}
 Identifies the representations of memory elements API can transfer data to/from. More...
 
enum  NodeType {
  E57_STRUCTURE = 1 , E57_VECTOR = 2 , E57_COMPRESSED_VECTOR = 3 , E57_INTEGER = 4 ,
  E57_SCALED_INTEGER = 5 , E57_FLOAT = 6 , E57_STRING = 7 , E57_BLOB = 8
}
 Identifiers for types of E57 elements. More...
 

Functions

std::string binaryString (int16_t x)
 
std::string binaryString (int32_t x)
 
std::string binaryString (int64_t x)
 
std::string binaryString (int8_t x)
 
std::string binaryString (uint16_t x)
 
std::string binaryString (uint32_t x)
 
std::string binaryString (uint64_t x)
 
std::string binaryString (uint8_t x)
 
std::string generateRandomGUID ()
 generates a new random GUID More...
 
std::string hexString (int16_t x)
 
std::string hexString (int32_t x)
 
std::string hexString (int64_t x)
 
std::string hexString (int8_t x)
 
std::string hexString (uint16_t x)
 
std::string hexString (uint32_t x)
 
std::string hexString (uint64_t x)
 
std::string hexString (uint8_t x)
 
std::string space (size_t n)
 Create whitespace of given length, for indenting printouts in dump() functions. More...
 
template<class T >
std::string toString (T x)
 Convert number to decimal, hexadecimal, and binary strings (Note hex strings don't have leading zeros). More...
 

Variables

constexpr ReadChecksumPolicy CHECKSUM_POLICY_ALL = 100
 Verify all checksums. This is the default. (slow) More...
 
constexpr ReadChecksumPolicy CHECKSUM_POLICY_HALF = 50
 Only verify 50% of the checksums. The last block is always verified. More...
 
constexpr ReadChecksumPolicy CHECKSUM_POLICY_NONE = 0
 Do not verify the checksums. (fast) More...
 
constexpr ReadChecksumPolicy CHECKSUM_POLICY_SPARSE = 25
 Only verify 25% of the checksums. The last block is always verified. More...
 
constexpr int DATA_PACKET_MAX = ( 64 * 1024 )
 maximum size of CompressedVector binary data packet More...
 
constexpr uint32_t E57_FORMAT_MAJOR = 1
 Version numbers of ASTM standard that this library supports. More...
 
constexpr uint32_t E57_FORMAT_MINOR = 0
 
constexpr double E57_NOT_SCALED_USE_FLOAT = 0.
 Indicates to use FloatNode instead of ScaledIntegerNode in fields that can use both. More...
 
constexpr double E57_NOT_SCALED_USE_INTEGER = -1.
 Indicates to use ScaledIntegerNode instead of FloatNode in fields that can use both. More...
 
constexpr char E57_V1_0_URI [] = "http://www.astm.org/COMMIT/E57/2010-e57-v1.0"
 The URI of ASTM E57 v1.0 standard XML namespace Note that even though this URI does not point to a valid document, the standard (section 8.4.2.3) says that this is the required namespace. More...
 

Typedef Documentation

◆ Data3DPointsData

◆ Data3DPointsData_d

◆ ImageFileImplSharedPtr

using e57::ImageFileImplSharedPtr = typedef std::shared_ptr<class ImageFileImpl>

◆ ImageFileImplWeakPtr

using e57::ImageFileImplWeakPtr = typedef std::weak_ptr<class ImageFileImpl>

◆ NodeImplSharedPtr

using e57::NodeImplSharedPtr = typedef std::shared_ptr<class NodeImpl>

◆ NodeImplWeakPtr

using e57::NodeImplWeakPtr = typedef std::weak_ptr<class NodeImpl>

◆ ReadChecksumPolicy

using e57::ReadChecksumPolicy = typedef int

Specifies the percentage of checksums which are verified when reading an ImageFile (0-100%).

◆ StringList

using e57::StringList = typedef std::vector<std::string>

◆ StringSet

using e57::StringSet = typedef std::set<std::string>

◆ ustring

using e57::ustring = typedef std::string

UTF-8 encodeded Unicode string.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Packet types (in a compressed vector section)

Enumerator
INDEX_PACKET 
DATA_PACKET 
EMPTY_PACKET 

◆ anonymous enum

anonymous enum
Enumerator
BLOB_SECTION 
COMPRESSED_VECTOR_SECTION 

◆ ErrorCode

Numeric error identifiers used in E57Exception.

Enumerator
E57_SUCCESS 

operation was successful

E57_ERROR_BAD_CV_HEADER 

a CompressedVector binary header was bad

E57_ERROR_BAD_CV_PACKET 

a CompressedVector binary packet was bad

E57_ERROR_CHILD_INDEX_OUT_OF_BOUNDS 

a numerical index identifying a child was out of bounds

E57_ERROR_SET_TWICE 

attempted to set an existing child element to a new value

E57_ERROR_HOMOGENEOUS_VIOLATION 

attempted to add an E57 Element that would have made the children of a homogeneous Vector have different types

E57_ERROR_VALUE_NOT_REPRESENTABLE 

a value could not be represented in the requested type

E57_ERROR_SCALED_VALUE_NOT_REPRESENTABLE 

after scaling the result could not be represented in the requested type

E57_ERROR_REAL64_TOO_LARGE 

a 64 bit IEEE float was too large to store in a 32 bit IEEE float

E57_ERROR_EXPECTING_NUMERIC 

Expecting numeric representation in user's buffer, found ustring.

E57_ERROR_EXPECTING_USTRING 

Expecting string representation in user's buffer, found numeric.

E57_ERROR_INTERNAL 

An unrecoverable inconsistent internal state was detected.

E57_ERROR_BAD_XML_FORMAT 

E57 primitive not encoded in XML correctly.

E57_ERROR_XML_PARSER 

XML not well formed.

E57_ERROR_BAD_API_ARGUMENT 

bad API function argument provided by user

E57_ERROR_FILE_IS_READ_ONLY 

can't modify read only file

E57_ERROR_BAD_CHECKSUM 

checksum mismatch, file is corrupted

E57_ERROR_OPEN_FAILED 

open() failed

E57_ERROR_CLOSE_FAILED 

close() failed

E57_ERROR_READ_FAILED 

read() failed

E57_ERROR_WRITE_FAILED 

write() failed

E57_ERROR_LSEEK_FAILED 

lseek() failed

E57_ERROR_PATH_UNDEFINED 

E57 element path well formed but not defined.

E57_ERROR_BAD_BUFFER 

bad SourceDestBuffer

E57_ERROR_NO_BUFFER_FOR_ELEMENT 

no buffer specified for an element in CompressedVectorNode during write

E57_ERROR_BUFFER_SIZE_MISMATCH 

SourceDestBuffers not all same size.

E57_ERROR_BUFFER_DUPLICATE_PATHNAME 

duplicate pathname in CompressedVectorNode read/write

E57_ERROR_BAD_FILE_SIGNATURE 

file signature not "ASTM-E57"

E57_ERROR_UNKNOWN_FILE_VERSION 

incompatible file version

E57_ERROR_BAD_FILE_LENGTH 

size in file header not same as actual

E57_ERROR_XML_PARSER_INIT 

XML parser failed to initialize.

E57_ERROR_DUPLICATE_NAMESPACE_PREFIX 

namespace prefix already defined

E57_ERROR_DUPLICATE_NAMESPACE_URI 

namespace URI already defined

E57_ERROR_BAD_PROTOTYPE 

bad prototype in CompressedVectorNode

E57_ERROR_BAD_CODECS 

bad codecs in CompressedVectorNode

E57_ERROR_VALUE_OUT_OF_BOUNDS 

element value out of min/max bounds

E57_ERROR_CONVERSION_REQUIRED 

conversion required to assign element value, but not requested

E57_ERROR_BAD_PATH_NAME 

E57 path name is not well formed.

E57_ERROR_NOT_IMPLEMENTED 

functionality not implemented

E57_ERROR_BAD_NODE_DOWNCAST 

bad downcast from Node to specific node type

E57_ERROR_WRITER_NOT_OPEN 

CompressedVectorWriter is no longer open.

E57_ERROR_READER_NOT_OPEN 

CompressedVectorReader is no longer open.

E57_ERROR_NODE_UNATTACHED 

node is not yet attached to tree of ImageFile

E57_ERROR_ALREADY_HAS_PARENT 

node already has a parent

E57_ERROR_DIFFERENT_DEST_IMAGEFILE 

nodes were constructed with different destImageFiles

E57_ERROR_IMAGEFILE_NOT_OPEN 

destImageFile is no longer open

E57_ERROR_BUFFERS_NOT_COMPATIBLE 

SourceDestBuffers not compatible with previously given ones.

E57_ERROR_TOO_MANY_WRITERS 

too many open CompressedVectorWriters of an ImageFile

E57_ERROR_TOO_MANY_READERS 

too many open CompressedVectorReaders of an ImageFile

E57_ERROR_BAD_CONFIGURATION 

bad configuration string

E57_ERROR_INVARIANCE_VIOLATION 

class invariance constraint violation in debug mode

◆ FloatPrecision

The IEEE floating point number precisions supported.

Enumerator
E57_SINGLE 

32 bit IEEE floating point number format

E57_DOUBLE 

64 bit IEEE floating point number format

◆ Image2DProjection

Identifies the representation for the image data.

Enumerator
E57_NO_PROJECTION 

No representation for the image data is present.

E57_VISUAL 

VisualReferenceRepresentation for the image data.

E57_PINHOLE 

PinholeRepresentation for the image data.

E57_SPHERICAL 

SphericalRepresentation for the image data.

E57_CYLINDRICAL 

CylindricalRepresentation for the image data.

◆ Image2DType

Identifies the format representation for the image data.

Enumerator
E57_NO_IMAGE 

No image data.

E57_JPEG_IMAGE 

JPEG format image data.

E57_PNG_IMAGE 

PNG format image data.

E57_PNG_IMAGE_MASK 

PNG format image mask.

◆ MemoryRepresentation

Identifies the representations of memory elements API can transfer data to/from.

Enumerator
E57_INT8 

8 bit signed integer

E57_UINT8 

8 bit unsigned integer

E57_INT16 

16 bit signed integer

E57_UINT16 

16 bit unsigned integer

E57_INT32 

32 bit signed integer

E57_UINT32 

32 bit unsigned integer

E57_INT64 

64 bit signed integer

E57_BOOL 

C++ boolean type.

E57_REAL32 

C++ float type.

E57_REAL64 

C++ double type.

E57_USTRING 

Unicode UTF-8 std::string.

◆ NodeType

Identifiers for types of E57 elements.

Enumerator
E57_STRUCTURE 

StructureNode class.

E57_VECTOR 

VectorNode class.

E57_COMPRESSED_VECTOR 

CompressedVectorNode class.

E57_INTEGER 

IntegerNode class.

E57_SCALED_INTEGER 

ScaledIntegerNode class.

E57_FLOAT 

FloatNode class.

E57_STRING 

StringNode class.

E57_BLOB 

BlobNode class.

Function Documentation

◆ binaryString() [1/8]

std::string e57::binaryString ( int16_t  x)

References binaryString().

◆ binaryString() [2/8]

std::string e57::binaryString ( int32_t  x)

References binaryString().

◆ binaryString() [3/8]

std::string e57::binaryString ( int64_t  x)

References binaryString().

◆ binaryString() [4/8]

std::string e57::binaryString ( int8_t  x)

References binaryString().

◆ binaryString() [5/8]

std::string e57::binaryString ( uint16_t  x)

◆ binaryString() [6/8]

std::string e57::binaryString ( uint32_t  x)

◆ binaryString() [7/8]

◆ binaryString() [8/8]

std::string e57::binaryString ( uint8_t  x)

◆ generateRandomGUID()

std::string e57::generateRandomGUID ( )

◆ hexString() [1/8]

std::string e57::hexString ( int16_t  x)

References hexString().

◆ hexString() [2/8]

std::string e57::hexString ( int32_t  x)

References hexString().

◆ hexString() [3/8]

std::string e57::hexString ( int64_t  x)

References hexString().

◆ hexString() [4/8]

std::string e57::hexString ( int8_t  x)

References hexString().

◆ hexString() [5/8]

std::string e57::hexString ( uint16_t  x)

◆ hexString() [6/8]

std::string e57::hexString ( uint32_t  x)

◆ hexString() [7/8]

std::string e57::hexString ( uint64_t  x)

◆ hexString() [8/8]

std::string e57::hexString ( uint8_t  x)

◆ space()

◆ toString()

template<class T >
std::string e57::toString ( x)

Convert number to decimal, hexadecimal, and binary strings (Note hex strings don't have leading zeros).

Referenced by e57::BlobNode::BlobNode(), e57::NodeImpl::checkBuffers(), e57::SourceDestBufferImpl::checkCompatible(), e57::CheckedFile::close(), e57::CompressedVectorNode::CompressedVectorNode(), e57::CompressedVectorReaderImpl::CompressedVectorReaderImpl(), e57::CompressedVectorWriterImpl::CompressedVectorWriterImpl(), e57::Decoder::DecoderFactory(), e57::ImageFileImpl::decrReaderCount(), e57::ImageFileImpl::decrWriterCount(), e57::BitpackDecoder::destBufferSetNew(), e57::ConstantIntegerDecoder::destBufferSetNew(), e57::Encoder::EncoderFactory(), e57::CheckedFile::extend(), e57::FloatNode::FloatNode(), e57::FloatNodeImpl::FloatNodeImpl(), e57::StructureNodeImpl::get(), e57::DataPacket::getBytestream(), e57::SourceDestBufferImpl::getNextFloat(), e57::SourceDestBufferImpl::getNextInt64(), e57::BitpackDecoder::inBufferShiftDown(), e57::BitpackDecoder::inputProcess(), e57::BitpackFloatDecoder::inputProcessAligned(), e57::BitpackStringDecoder::inputProcessAligned(), e57::BitpackIntegerDecoder< RegisterT >::inputProcessAligned(), e57::IntegerNode::IntegerNode(), e57::IntegerNodeImpl::IntegerNodeImpl(), e57::PacketReadCache::lock(), e57::BitpackEncoder::outBufferShiftDown(), e57::BitpackEncoder::outputRead(), e57::ConstantIntegerEncoder::outputRead(), e57::PacketReadCache::PacketReadCache(), e57::BitpackFloatEncoder::processRecords(), e57::BitpackStringEncoder::processRecords(), e57::BitpackIntegerEncoder< RegisterT >::processRecords(), e57::ConstantIntegerEncoder::processRecords(), e57::CompressedVectorReaderImpl::read(), e57::CheckedFile::read(), e57::BlobNodeImpl::read(), e57::CompressedVectorNodeImpl::reader(), e57::PacketReadCache::readPacket(), e57::ScaledIntegerNode::ScaledIntegerNode(), e57::ScaledIntegerNodeImpl::ScaledIntegerNodeImpl(), e57::StructureNodeImpl::set(), e57::SourceDestBufferImpl::setNextInt64(), e57::BitpackEncoder::sourceBufferSetNew(), e57::ConstantIntegerEncoder::sourceBufferSetNew(), e57::StringNode::StringNode(), e57::StructureNode::StructureNode(), e57::PacketReadCache::unlock(), e57::VectorNode::VectorNode(), e57::CompressedVectorSectionHeader::verify(), EmptyPacketHeader::verify(), e57::DataPacketHeader::verify(), e57::DataPacket::verify(), IndexPacket::verify(), e57::CompressedVectorWriterImpl::write(), e57::BlobNodeImpl::write(), and e57::CompressedVectorNodeImpl::writer().

Variable Documentation

◆ CHECKSUM_POLICY_ALL

constexpr ReadChecksumPolicy e57::CHECKSUM_POLICY_ALL = 100
constexpr

Verify all checksums. This is the default. (slow)

Referenced by e57::CheckedFile::read().

◆ CHECKSUM_POLICY_HALF

constexpr ReadChecksumPolicy e57::CHECKSUM_POLICY_HALF = 50
constexpr

Only verify 50% of the checksums. The last block is always verified.

◆ CHECKSUM_POLICY_NONE

constexpr ReadChecksumPolicy e57::CHECKSUM_POLICY_NONE = 0
constexpr

Do not verify the checksums. (fast)

Referenced by e57::CheckedFile::read().

◆ CHECKSUM_POLICY_SPARSE

constexpr ReadChecksumPolicy e57::CHECKSUM_POLICY_SPARSE = 25
constexpr

Only verify 25% of the checksums. The last block is always verified.

◆ DATA_PACKET_MAX

constexpr int e57::DATA_PACKET_MAX = ( 64 * 1024 )
constexpr

maximum size of CompressedVector binary data packet

Referenced by e57::Encoder::EncoderFactory(), e57::PacketReadCache::readPacket(), and e57::CompressedVectorWriterImpl::write().

◆ E57_FORMAT_MAJOR

constexpr uint32_t e57::E57_FORMAT_MAJOR = 1
constexpr

Version numbers of ASTM standard that this library supports.

Referenced by e57::ImageFileImpl::close(), and e57::Utilities::getVersions().

◆ E57_FORMAT_MINOR

constexpr uint32_t e57::E57_FORMAT_MINOR = 0
constexpr

◆ E57_NOT_SCALED_USE_FLOAT

constexpr double e57::E57_NOT_SCALED_USE_FLOAT = 0.
constexpr

Indicates to use FloatNode instead of ScaledIntegerNode in fields that can use both.

Referenced by e57::ReaderImpl::ReadData3D().

◆ E57_NOT_SCALED_USE_INTEGER

constexpr double e57::E57_NOT_SCALED_USE_INTEGER = -1.
constexpr

Indicates to use ScaledIntegerNode instead of FloatNode in fields that can use both.

Referenced by e57::ReaderImpl::ReadData3D().

◆ E57_V1_0_URI

constexpr char e57::E57_V1_0_URI[] = "http://www.astm.org/COMMIT/E57/2010-e57-v1.0"
constexpr

The URI of ASTM E57 v1.0 standard XML namespace Note that even though this URI does not point to a valid document, the standard (section 8.4.2.3) says that this is the required namespace.

Referenced by e57::WriterImpl::WriterImpl(), and e57::StructureNodeImpl::writeXml().