PLearn 0.1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Private Types | Private Member Functions
PLearn::MeshEdge Class Reference

#include <MeshEdge.h>

Inheritance diagram for PLearn::MeshEdge:
Inheritance graph
[legend]
Collaboration diagram for PLearn::MeshEdge:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MeshEdge ()
 Default constructor.
virtual ~MeshEdge ()
 Virtual destructor.
virtual string classname () const
virtual OptionListgetOptionList () const
virtual OptionMapgetOptionMap () const
virtual RemoteMethodMapgetRemoteMethodMap () const
virtual MeshEdgedeepCopy (CopiesMap &copies) const
virtual void build ()
 Post-constructor.
virtual void makeDeepCopyFromShallowCopy (CopiesMap &copies)
 Transforms a shallow copy into a deep copy.

Static Public Member Functions

static string _classname_ ()
static OptionList_getOptionList_ ()
static RemoteMethodMap_getRemoteMethodMap_ ()
static Object_new_instance_for_typemap_ ()
static bool _isa_ (const Object *o)
static void _static_initialize_ ()
static const PPathdeclaringFile ()

Public Attributes

real error
real length
int face1
int face2
int bf

Static Public Attributes

static StaticInitializer _static_initializer_

Static Protected Member Functions

static void declareOptions (OptionList &ol)
 Declares this class' options.

Private Types

typedef Object inherited

Private Member Functions

void build_ ()
 This does the actual building.

Detailed Description

Definition at line 55 of file MeshEdge.h.


Member Typedef Documentation

Reimplemented from PLearn::Object.

Definition at line 60 of file MeshEdge.h.


Constructor & Destructor Documentation

PLearn::MeshEdge::MeshEdge ( )

Default constructor.

Definition at line 49 of file MeshEdge.cc.

                   :
  error( 0 ),
  length( 0 ),
  face1( -1 ),
  face2( -1 ),
  bf( 0 )
{}
virtual PLearn::MeshEdge::~MeshEdge ( ) [inline, virtual]

Virtual destructor.

Definition at line 87 of file MeshEdge.h.

{}

Member Function Documentation

string PLearn::MeshEdge::_classname_ ( ) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

OptionList & PLearn::MeshEdge::_getOptionList_ ( ) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

RemoteMethodMap & PLearn::MeshEdge::_getRemoteMethodMap_ ( ) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

bool PLearn::MeshEdge::_isa_ ( const Object o) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

Object * PLearn::MeshEdge::_new_instance_for_typemap_ ( ) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

StaticInitializer MeshEdge::_static_initializer_ & PLearn::MeshEdge::_static_initialize_ ( ) [static]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

void PLearn::MeshEdge::build ( ) [virtual]

Post-constructor.

The normal implementation should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object.

Reimplemented from PLearn::Object.

Definition at line 96 of file MeshEdge.cc.

References PLearn::Object::build(), and build_().

Here is the call graph for this function:

void PLearn::MeshEdge::build_ ( ) [private]

This does the actual building.

Reimplemented from PLearn::Object.

Definition at line 93 of file MeshEdge.cc.

Referenced by build().

{}

Here is the caller graph for this function:

string PLearn::MeshEdge::classname ( ) const [virtual]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

void PLearn::MeshEdge::declareOptions ( OptionList ol) [static, protected]

Declares this class' options.

Reimplemented from PLearn::Object.

Definition at line 72 of file MeshEdge.cc.

References bf, PLearn::OptionBase::buildoption, PLearn::declareOption(), PLearn::Object::declareOptions(), error, face1, face2, and length.

{
  declareOption(ol, "error", &MeshEdge::error, OptionBase::buildoption,
                "dunno, sure it has something to do with an error measure...");

  declareOption(ol, "length", &MeshEdge::length, OptionBase::buildoption,
                "edge length");

  declareOption(ol, "face1", &MeshEdge::face1, OptionBase::buildoption,
                "identifier of the first adjacent face");

  declareOption(ol, "face2", &MeshEdge::face2, OptionBase::buildoption,
                "identifier of the second adjacent face");

  declareOption(ol, "bf", &MeshEdge::bf, OptionBase::buildoption,
                "boundary flag");

  // Now call the parent class' declareOptions
  inherited::declareOptions(ol);
}

Here is the call graph for this function:

static const PPath& PLearn::MeshEdge::declaringFile ( ) [inline, static]

Reimplemented from PLearn::Object.

Definition at line 104 of file MeshEdge.h.

MeshEdge * PLearn::MeshEdge::deepCopy ( CopiesMap copies) const [virtual]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

OptionList & PLearn::MeshEdge::getOptionList ( ) const [virtual]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

OptionMap & PLearn::MeshEdge::getOptionMap ( ) const [virtual]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

RemoteMethodMap & PLearn::MeshEdge::getRemoteMethodMap ( ) const [virtual]

Reimplemented from PLearn::Object.

Definition at line 70 of file MeshEdge.cc.

void PLearn::MeshEdge::makeDeepCopyFromShallowCopy ( CopiesMap copies) [virtual]

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::Object.

Definition at line 102 of file MeshEdge.cc.

References PLearn::Object::makeDeepCopyFromShallowCopy().

Here is the call graph for this function:


Member Data Documentation

Reimplemented from PLearn::Object.

Definition at line 104 of file MeshEdge.h.

Definition at line 72 of file MeshEdge.h.

Referenced by declareOptions().

Definition at line 68 of file MeshEdge.h.

Referenced by declareOptions().

Definition at line 70 of file MeshEdge.h.

Referenced by declareOptions().

Definition at line 71 of file MeshEdge.h.

Referenced by declareOptions().

Definition at line 69 of file MeshEdge.h.

Referenced by declareOptions().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines