6 #ifndef INCLUDED_IMF_NAME_H
7 #define INCLUDED_IMF_NAME_H
22 # pragma warning(push, 0)
23 # pragma warning(disable : 4996)
36 Name (
const char text[]);
53 inline const char*
text ()
const {
return _text; }
54 inline const char*
operator* ()
const {
return _text; }
60 static const int SIZE = 256;
61 static const int MAX_LENGTH =
SIZE - 1;
92 return strcmp (*x, *y) == 0;
98 return strcmp (*x, text) == 0;
104 return strcmp (text, *y) == 0;
128 return strcmp (*x, *y) < 0;
134 return strcmp (*x, text) < 0;
140 return strcmp (text, *y) < 0;
145 #if defined(_MSC_VER)
146 # pragma warning(pop)
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Name & operator=(const Name &)=default
bool operator<(const Name &x, const Name &y)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
IMATH_HOSTDEVICE constexpr Color4< T > operator*(S a, const Color4< T > &v) IMATH_NOEXCEPT
Reverse multiplication: S * Color4.
LeafData & operator=(const LeafData &)=delete
static const int MAX_LENGTH
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
const char * text() const
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.