mimas::object_instance_list Class Reference

A little bit confusing. More...

#include <object_instance_list.h>

Inheritance diagram for mimas::object_instance_list:

Inheritance graph
[legend]
Collaboration diagram for mimas::object_instance_list:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 object_instance_list (void)
void setObject (object_ptr ob)
object_ptr getObject (void)
bool empty (void)
coordinate_xform_ptr_listgetList (void)
void push_back (coordinate_xform_ptr m)

Detailed Description

A little bit confusing.

I wanted a means to have a single object type (such as for example a house object) which was then instanciated N times in different positions or situations. Hence this class. You can define an object, eg house and then use this class to point to the house structure and store alongside that all the inforamtion about each different instance. We use this in auto pgh to store the positions of all the different found instances of the house template. And, to add to the confusion, you can of course, store lists of lists. Its just a way to store a set of object instances so we can do things with them all , or so we can do repetitive ops on a given set of data.

Definition at line 27 of file object_instance_list.h.


Constructor & Destructor Documentation

mimas::object_instance_list::object_instance_list ( void   )  [inline]

Definition at line 38 of file object_instance_list.h.


Member Function Documentation

void mimas::object_instance_list::setObject ( object_ptr  ob  )  [inline]

Definition at line 57 of file object_instance_list.h.

object_ptr mimas::object_instance_list::getObject ( void   )  [inline]

Definition at line 58 of file object_instance_list.h.

bool mimas::object_instance_list::empty ( void   )  [inline]

Definition at line 61 of file object_instance_list.h.

coordinate_xform_ptr_list& mimas::object_instance_list::getList ( void   )  [inline]

Definition at line 63 of file object_instance_list.h.

void mimas::object_instance_list::push_back ( coordinate_xform_ptr  m  )  [inline]

Definition at line 65 of file object_instance_list.h.


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:39 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...