Jive reference manual
|
#include <jive/util/StdPointSet.h>
Public Member Functions | |
StdPointSet () | |
StdPointSet (const String &name, const String &pointName, const Ref< XItemMap > &map=NIL) | |
StdPointSet (const Self &rhs) | |
virtual void | resetEvents () |
virtual void | readFrom (ObjectInput &in) |
virtual void | writeTo (ObjectOutput &out) const |
virtual Ref< Object > | clone () const |
virtual idx_t | size () const |
Returns the size of this item set. More... | |
virtual idx_t | rank () const |
virtual String | getItemName () const |
Returns the type name of an item. More... | |
virtual ItemMap * | getItemMap () const |
Returns the item map associated with this item set. More... | |
virtual void | clear () |
virtual void | reserve (idx_t count) |
virtual void | trimToSize () |
virtual idx_t | addPoint (const Vector &coords) |
virtual idx_t | addPoint (idx_t id, const Vector &coords) |
virtual idx_t | addPoints (const Matrix &coords) |
virtual void | reorderPoints (const Reordering &reord) |
virtual void | getPointCoords (const Vector &coords, idx_t ipoint) const |
virtual double | getPointXCoord (idx_t ipoint, idx_t idim) const |
virtual void | setPointCoords (idx_t ipoint, const Vector &coords) |
virtual void | setPointXCoord (idx_t ipoint, double coord, idx_t idim) |
virtual void | getCoords (const Matrix &coords) const |
virtual void | getXCoords (const Vector &coords, idx_t idim) const |
virtual void | getSomeCoords (const Matrix &coords, const IdxVector &ipoints) const |
virtual void | getSomeXCoords (const Vector &coords, const IdxVector &ipoints, idx_t idim) const |
virtual void | setCoords (const Matrix &coords) |
virtual void | setXCoords (const Vector &coords, idx_t idim) |
virtual void | setSomeCoords (const IdxVector &ipoints, const Matrix &coords) |
virtual void | setSomeXCoords (const IdxVector &ipoints, const Vector &coords, idx_t idim) |
![]() | |
void | erasePoints (const IdxVector &ipoints) |
![]() | |
virtual Matrix | toMatrix () const |
virtual void | printSubset (PrintWriter &out, const IdxVector &ipoints) const |
![]() | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
String | getName () const |
Returns the (descriptive) name of this item set. More... | |
virtual String | getTagName () const |
Returns an XML tag name for this item set. More... | |
virtual String | getItemsName () const |
Returns the plural of an item type name. More... | |
String | getContext () const |
Returns a context string. More... | |
String | getItemPath (int itemID) const |
Returns an identification string for an item. More... | |
int | findItem (int itemID) const |
Returns the index of an item with a given ID. More... | |
int | getItemID (int iitem) const |
Returns the ID of the item with a given index. More... | |
virtual void | printTo (Printer &out) const |
Prints the contents of this item set. More... | |
void | store (const String &name, const Properties &globdat) const |
Stores this item set in a (global) data set. More... | |
![]() | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Protected Member Functions | |
virtual | ~StdPointSet () |
virtual void | emitEvents_ (int events) |
![]() | |
XPointSet (const String &name="") | |
virtual | ~XPointSet () |
![]() | |
PointSet (const String &name="") | |
virtual | ~PointSet () |
![]() | |
ItemSet (const String &name="") | |
Constructs an item set with a given name. More... | |
virtual | ~ItemSet () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
![]() | |
virtual | ~Clonable () |
virtual void | emitVTable_ () |
![]() | |
virtual | ~Interface () |
Empty destructor. More... | |
![]() | |
virtual | ~Serializable () |
virtual void | emitVtableFunc_ () |
Additional Inherited Members | |
![]() | |
typedef jem::String | String |
Represents a string type. More... | |
typedef jem::io::PrintWriter | Printer |
Represents a formatted output stream. More... | |
typedef jem::util::Dictionary | Dict |
Represents a dictionary. More... | |
typedef jem::util::Properties | Properties |
Represents a properties set. More... | |
![]() | |
static jem::Ref< ItemSet > | find (const String &name, const Properties &globdat) |
Searches for a named item set in a (global) data set. More... | |
static jem::Ref< ItemSet > | get (const String &name, const Properties &globdat, const String &context) |
Returns a named item set stored in a (global) data set. More... | |
static jem::Ref< Dict > | getAll (const Properties &globdat) |
Returns a dictionary containing all item sets in a (global) data set. More... | |
static StringVector | listAll (const Properties &globdat) |
Returns the names of all item sets stored in a (global) data set. More... | |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
![]() | |
Event< Self & > | newGeomEvent |
Event< idx_t, Self & > | newRankEvent |
![]() | |
jem::util::Event< int, Self & > | newSizeEvent |
Signals that the size of this item set has changed. More... | |
jem::util::Event< const IntVector &, Self & > | newOrderEvent |
Signals that the items have been re-ordered. More... | |
![]() | |
String | myName_ |
The descriptive name of this item set. More... | |
jive::util::StdPointSet::StdPointSet | ( | ) |
jive::util::StdPointSet::StdPointSet | ( | const String & | name, |
const String & | pointName, | ||
const Ref< XItemMap > & | map = NIL |
||
) |
jive::util::StdPointSet::StdPointSet | ( | const Self & | rhs | ) |
|
protectedvirtual |
|
virtual |
|
virtual |
Implements jem::io::Serializable.
|
virtual |
Implements jem::io::Serializable.
Implements jem::Clonable.
|
virtual |
Returns the number of items in this set.
Reimplemented from jive::util::ItemSet.
|
virtual |
Implements jive::util::PointSet.
|
virtual |
Returns a string that can be used as the type name of an item in this set. For instance, if this item sets contains points, it could return the string "point"
.
The string returned by this function is mostly used to generate various types of output messagesm, including error messages.
Reimplemented from jive::util::PointSet.
|
virtual |
Returns a pointer to the ItemMap
object that is associated with this item set. The pointer is guaranteed to be non-null and to be valid throughout the lifetime of this item set.
ItemMap
of this item set. Implements jive::util::ItemSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Implements jive::util::PointSet.
|
virtual |
Implements jive::util::PointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Implements jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::PointSet.
|
virtual |
Reimplemented from jive::util::PointSet.
|
virtual |
Reimplemented from jive::util::PointSet.
|
virtual |
Reimplemented from jive::util::PointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
virtual |
Reimplemented from jive::util::XPointSet.
|
protectedvirtual |