Rosetta 3.4
Public Types | Public Member Functions
core::scoring::constraints::ConstraintNode Class Reference

#include <ConstraintGraph.hh>

Inheritance diagram for core::scoring::constraints::ConstraintNode:
Inheritance graph
[legend]
Collaboration diagram for core::scoring::constraints::ConstraintNode:
Collaboration graph
[legend]

List of all members.

Public Types

typedef graph::Node parent
typedef graph::Node Node

Public Member Functions

 ConstraintNode (graph::Graph *, Size node_id)
virtual ~ConstraintNode ()
virtual void copy_from (Node const *source)
 invoked during graph assignment operators to copy any node data from one graph to another graph. The source node must be the same type as this node.
virtual Size count_static_memory () const
 memory accounting scheme
virtual Size count_dynamic_memory () const
 memory accounting scheme

Member Typedef Documentation


Constructor & Destructor Documentation

core::scoring::constraints::ConstraintNode::ConstraintNode ( graph::Graph owner,
Size  node_id 
)

Referenced by count_static_memory().

core::scoring::constraints::ConstraintNode::~ConstraintNode ( ) [virtual]

Member Function Documentation

void core::scoring::constraints::ConstraintNode::copy_from ( Node const *  source) [virtual]

invoked during graph assignment operators to copy any node data from one graph to another graph. The source node must be the same type as this node.

copy-from for use in Graph::operator= and copy ctors; derived classes must define their own version of this function

Reimplemented from core::graph::Node.

References core::graph::Node::copy_from().

Size core::scoring::constraints::ConstraintNode::count_dynamic_memory ( ) const [virtual]

memory accounting scheme

recursively descend through heirarchy accounting for heap memory usage. Each derived class in the heirarchy should recursively add the amount of dynamic memory its parent allocates by calling parent::count_dynamic_memory

Reimplemented from core::graph::Node.

References core::graph::Node::count_dynamic_memory().

Size core::scoring::constraints::ConstraintNode::count_static_memory ( ) const [virtual]

memory accounting scheme

called on most-derived class. The most-derived class should NOT recursively call this method on its parent class. The sizeof function will handle the whole Node (or DerivedNode).

Reimplemented from core::graph::Node.

References ConstraintNode().


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