degate  0.1.2
Public Member Functions
degate::SubProjectAnnotation Class Reference

An annotation for subprojects. More...

#include <SubProjectAnnotation.h>

Inheritance diagram for degate::SubProjectAnnotation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SubProjectAnnotation (int min_x, int max_x, int min_y, int max_y, std::string const &subproject_path)
 Create a new annotation.
 SubProjectAnnotation (BoundingBox const &bbox, std::string const &subproject_path)
 Create a new annotation.
void set_path (std::string const &subproject_path)
std::string get_path () const

Detailed Description

An annotation for subprojects.

Definition at line 41 of file SubProjectAnnotation.h.


Constructor & Destructor Documentation

SubProjectAnnotation::SubProjectAnnotation ( int  min_x,
int  max_x,
int  min_y,
int  max_y,
std::string const &  subproject_path 
)

Create a new annotation.

Definition at line 28 of file SubProjectAnnotation.cc.

References set_path().

Here is the call graph for this function:

SubProjectAnnotation::SubProjectAnnotation ( BoundingBox const &  bbox,
std::string const &  subproject_path 
)

Create a new annotation.

Definition at line 35 of file SubProjectAnnotation.cc.

References set_path().

                                                                             :
  Annotation(bbox, Annotation::SUBPROJECT) {

  set_path(subproject_path);
}

Here is the call graph for this function:


Member Function Documentation

std::string SubProjectAnnotation::get_path ( ) const

Definition at line 46 of file SubProjectAnnotation.cc.

                                               {
  return Annotation::get_parameter<std::string>("subproject-directory");
}
void SubProjectAnnotation::set_path ( std::string const &  subproject_path)

Definition at line 42 of file SubProjectAnnotation.cc.

References degate::Annotation::set_parameter().

Referenced by SubProjectAnnotation().

                                                                    {
  Annotation::set_parameter("subproject-directory", subproject_path);
}

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: