MCPcopy Create free account
hub / github.com/PDAL/PDAL / validateValue

Method validateValue

plugins/e57/libE57Format/src/FloatNodeImpl.cpp:55–64  ·  view source on GitHub ↗

Throw an exception if the value is not within bounds.

Source from the content-addressed store, hash-verified

53
54 // Throw an exception if the value is not within bounds.
55 void FloatNodeImpl::validateValue() const
56 {
57 if ( value_ < minimum_ || value_ > maximum_ )
58 {
59 throw E57_EXCEPTION2( ErrorValueOutOfBounds, "this->pathName=" + this->pathName() +
60 " value=" + toString( value_ ) +
61 " minimum=" + toString( minimum_ ) +
62 " maximum=" + toString( maximum_ ) );
63 }
64 }
65
66 bool FloatNodeImpl::isTypeEquivalent( NodeImplSharedPtr ni )
67 {

Callers 4

IntegerNodeMethod · 0.45
ScaledIntegerNodeMethod · 0.45
endElementMethod · 0.45
FloatNodeMethod · 0.45

Calls 2

toStringFunction · 0.70
pathNameMethod · 0.45

Tested by

no test coverage detected