OpenImageIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
ParamValueList Class Reference

#include <paramlist.h>

Public Types

typedef Rep::iterator iterator
 
typedef Rep::const_iterator const_iterator
 
typedef ParamValue value_type
 
typedef value_type & reference
 
typedef const value_type & const_reference
 
typedef value_type * pointer
 
typedef const value_type * const_pointer
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reference front ()
 
reference back ()
 
const_reference front () const
 
const_reference back () const
 
reference operator[] (int i)
 
const_reference operator[] (int i) const
 
reference operator[] (size_t i)
 
const_reference operator[] (size_t i) const
 
void resize (size_t newsize)
 
size_t size () const
 
reference grow ()
 
void push_back (ParamValue &p)
 
iterator erase (iterator position)
 
iterator erase (iterator first, iterator last)
 
void clear ()
 
void free ()
 

Detailed Description

A list of ParamValue entries, that can be iterated over or searched.

Member Function Documentation

void ParamValueList::clear ( )
inline

Remove all the values in the list.

iterator ParamValueList::erase ( iterator  position)
inline

Removes from the ParamValueList container a single element.

iterator ParamValueList::erase ( iterator  first,
iterator  last 
)
inline

Removes from the ParamValueList container a range of elements ([first,last)).

void ParamValueList::free ( )
inline

Even more radical than clear, free ALL memory associated with the list itself.

reference ParamValueList::grow ( )
inline

Add space for one more ParamValue to the list, and return a reference to its slot.

void ParamValueList::push_back ( ParamValue &  p)
inline

Add a ParamValue to the end of the list.


The documentation for this class was generated from the following file: