OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::Sequence< ObjName > Class Template Reference

Common base class for Object name sequences. More...

#include </home/chochlik/devel/oglplus/include/oglplus/object/seq_tpl.hpp>

Public Types

typedef SeqIterator< ObjectT > iterator
 Iterator type.
 
typedef SeqIterator< ObjectT > const_iterator
 Const iterator type.
 

Public Member Functions

bool empty (void) const
 Returns true if the sequence is empty.
 
std::size_t size (void) const
 Returns the size of the sequence.
 
ObjectT at (std::size_t index) const
 Returns the object name at the specified index.
 
ObjectT operator[] (std::size_t index) const
 Returns the object name at the specified index.
 
Sequence slice (std::size_t start) const
 Returns a subsequence starting at start.
 
Sequence slice (std::size_t start, std::size_t count) const
 Returns a subsequence with the specified count starting at start.
 
const_iterator begin (void) const
 Position at the beginning of the sequence.
 
const_iterator end (void) const
 Position past the end of the sequence.
 

Detailed Description

template<typename ObjName>
class oglplus::Sequence< ObjName >

Common base class for Object name sequences.


The documentation for this class was generated from the following files:
  • /home/chochlik/devel/oglplus/include/oglplus/fwd.hpp
  • /home/chochlik/devel/oglplus/include/oglplus/object/seq_tpl.hpp

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).