6 #ifndef INCLUDED_IMF_CHANNEL_LIST_H
7 #define INCLUDED_IMF_CHANNEL_LIST_H
72 bool pLinear =
false);
108 Channel& operator[] (
const char name[]);
110 const Channel& operator[] (
const char name[])
const;
118 Channel* findChannel (
const char name[]);
120 const Channel* findChannel (
const char name[])
const;
139 ConstIterator
begin ()
const;
144 ConstIterator
end ()
const;
147 Iterator
find (
const char name[]);
149 ConstIterator
find (
const char name[])
const;
197 void layers (std::set<std::string>& layerNames)
const;
200 void channelsInLayer (
204 void channelsInLayer (
206 ConstIterator&
first,
207 ConstIterator&
last)
const;
223 channelsWithPrefix (
const char prefix[], Iterator&
first, Iterator&
last);
226 void channelsWithPrefix (
227 const char prefix[], ConstIterator&
first, ConstIterator&
last)
const;
230 void channelsWithPrefix (
234 void channelsWithPrefix (
236 ConstIterator&
first,
237 ConstIterator&
last)
const;
260 Iterator (
const ChannelList::ChannelMap::iterator& i);
263 Iterator& operator++ ();
265 Iterator operator++ (
int);
268 const char*
name ()
const;
275 ChannelList::ChannelMap::iterator _i;
284 ConstIterator (
const ChannelList::ChannelMap::const_iterator& i);
289 ConstIterator& operator++ ();
291 ConstIterator operator++ (
int);
294 const char*
name ()
const;
296 const Channel& channel ()
const;
299 friend bool operator== (
const ConstIterator&,
const ConstIterator&);
300 friend bool operator!= (
const ConstIterator&,
const ConstIterator&);
302 ChannelList::ChannelMap::const_iterator _i;
309 inline ChannelList::Iterator::Iterator () : _i ()
314 inline ChannelList::Iterator::Iterator (
315 const ChannelList::ChannelMap::iterator& i)
322 ChannelList::Iterator::operator++ ()
329 ChannelList::Iterator::operator++ (
int)
331 Iterator tmp = *
this;
343 ChannelList::Iterator::channel ()
const
348 inline ChannelList::ConstIterator::ConstIterator () : _i ()
353 inline ChannelList::ConstIterator::ConstIterator (
354 const ChannelList::ChannelMap::const_iterator& i)
360 inline ChannelList::ConstIterator::ConstIterator (
368 ChannelList::ConstIterator::operator++ ()
375 ChannelList::ConstIterator::operator++ (
int)
377 ConstIterator tmp = *
this;
389 ChannelList::ConstIterator::channel ()
const
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
GLsizei const GLchar *const * string
OIIO_FORCEINLINE vbool4 insert(const vbool4 &a, bool val)
Helper: substitute val for a[i].
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM PixelType
bool operator!=(const ChannelList::ConstIterator &x, const ChannelList::ConstIterator &y)
IMF_EXPORT ConstIterator()
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
std::map< Name, Channel > ChannelMap
GLuint const GLchar * name
__hostdev__ uint64_t last(uint32_t i) const
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
struct IMF_EXPORT_TYPE Channel
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
bool operator==(const ChannelList::ConstIterator &x, const ChannelList::ConstIterator &y)
FMT_CONSTEXPR auto find(Ptr first, Ptr last, T value, Ptr &out) -> bool
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.