GRAPHCODE_NS::Ptrlist Class Reference

#include <graphcode.h>

Inheritance diagram for GRAPHCODE_NS::Ptrlist:
Inheritance graph
Collaboration diagram for GRAPHCODE_NS::Ptrlist:
Collaboration graph

Classes

class  iterator
 

Public Types

typedef vector< objref * >::size_type size_type
 

Public Member Functions

iterator begin () const
 
iterator end () const
 
objreffront ()
 
objrefback ()
 
const objreffront () const
 
const objrefback () const
 
objrefoperator[] (unsigned i) const
 
void push_back (objref *x)
 
void push_back (objref &x)
 
void erase (GraphID_t i)
 
void clear ()
 
size_type size () const
 
Ptrlistoperator= (const Ptrlist &x)
 
void lpack (pack_t &targ) const
 
void lunpack (pack_t &targ)
 

Friends

class omap
 
class Graph
 
void unpack (pack_t *, const string &, objref &)
 

Detailed Description

Vector of references to objects:

  • serialisable
  • semantically like vector<objref>, but with less storage
  • objects are not owned by this class

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