PLearn 0.1
|
#include <MeshEdge.h>
Public Member Functions | |
MeshEdge () | |
Default constructor. | |
virtual | ~MeshEdge () |
Virtual destructor. | |
virtual string | classname () const |
virtual OptionList & | getOptionList () const |
virtual OptionMap & | getOptionMap () const |
virtual RemoteMethodMap & | getRemoteMethodMap () const |
virtual MeshEdge * | deepCopy (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 PPath & | declaringFile () |
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. |
Definition at line 55 of file MeshEdge.h.
typedef Object PLearn::MeshEdge::inherited [private] |
Reimplemented from PLearn::Object.
Definition at line 60 of file MeshEdge.h.
PLearn::MeshEdge::MeshEdge | ( | ) |
virtual PLearn::MeshEdge::~MeshEdge | ( | ) | [inline, virtual] |
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.
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_().
{ inherited::build(); build_(); }
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().
{}
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); }
static const PPath& PLearn::MeshEdge::declaringFile | ( | ) | [inline, static] |
Reimplemented from PLearn::Object.
Definition at line 104 of file MeshEdge.h.
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().
{ inherited::makeDeepCopyFromShallowCopy(copies); }
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().