#include <DDDivision.h>
Public Member Functions | |
DDAxes | axis () const |
DDDivision () | |
The default constructor provides an uninitialzed reference object. More... | |
DDDivision (const DDName &name) | |
Creates a refernce object referring to the appropriate XML specification. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, const DDAxes axis, const int nReplicas, const double width, const double offset) | |
Registers (creates) a reference object representing a Division. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, const DDAxes axis, const int nReplicas, const double offset) | |
Registers (creates) a reference object representing a Division. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, const DDAxes axis, const double width, const double offset) | |
Registers (creates) a reference object representing a Division. More... | |
int | nReplicas () const |
double | offset () const |
const DDLogicalPart & | parent () const |
double | width () const |
Public Member Functions inherited from DDBase< DDName, DDI::Division * > | |
DDBase () | |
const DDName & | ddname () const |
def_type | isDefined () const |
bool | isValid () const |
true, if the wrapped pointer is valid More... | |
const DDName & | name () const |
operator bool () const | |
bool | operator< (const DDBase &b) const |
bool | operator== (const DDBase &b) const |
bool | operator> (const DDBase &b) const |
const DDI::rep_traits< DDName, DDI::Division * >::reference | rep () const |
DDI::rep_traits< DDName, DDI::Division * >::reference | rep () |
std::string | toString () const |
const DDI::rep_traits< DDName, DDI::Division * >::reference | val () const |
const DDI::rep_traits< DDName, DDI::Division * >::reference | val () |
virtual | ~DDBase () |
Friends | |
std::ostream & | operator<< (std::ostream &, const DDDivision &) |
Additional Inherited Members | |
Public Types inherited from DDBase< DDName, DDI::Division * > | |
typedef std::pair< const DDName *, bool > | def_type |
typedef DDI::Division * | pimpl_type |
typedef DDI::rep_type< DDName, pimpl_type > * | prep_type |
typedef DDI::Singleton < DDI::Store< DDName, DDI::Division * > > | StoreT |
Static Public Member Functions inherited from DDBase< DDName, DDI::Division * > | |
static auto | begin () |
static void | clear () |
static auto | end () |
static size_t | size () |
Protected Attributes inherited from DDBase< DDName, DDI::Division * > | |
prep_type | prep_ |
Definition at line 71 of file DDDivision.h.
DDDivision::DDDivision | ( | ) |
The default constructor provides an uninitialzed reference object.
Definition at line 27 of file DDDivision.cc.
DDDivision::DDDivision | ( | const DDName & | name | ) |
Creates a refernce object referring to the appropriate XML specification.
Definition at line 30 of file DDDivision.cc.
References DDI::Singleton< I >::instance(), and DDBase< DDName, DDI::Division * >::prep_.
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
const DDAxes | axis, | ||
const int | nReplicas, | ||
const double | width, | ||
const double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with number of divisions and width
Definition at line 35 of file DDDivision.cc.
References DCOUT, DDI::Singleton< I >::instance(), DDAxesNames::name(), DDBase< N, C >::name(), offset(), and DDBase< DDName, DDI::Division * >::prep_.
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
const DDAxes | axis, | ||
const int | nReplicas, | ||
const double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with number of divisions
Definition at line 46 of file DDDivision.cc.
References DCOUT, DDI::Singleton< I >::instance(), DDAxesNames::name(), DDBase< N, C >::name(), offset(), and DDBase< DDName, DDI::Division * >::prep_.
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
const DDAxes | axis, | ||
const double | width, | ||
const double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with width
Definition at line 56 of file DDDivision.cc.
References DCOUT, DDI::Singleton< I >::instance(), DDAxesNames::name(), DDBase< N, C >::name(), offset(), and DDBase< DDName, DDI::Division * >::prep_.
DDAxes DDDivision::axis | ( | ) | const |
Definition at line 66 of file DDDivision.cc.
References DDBase< DDName, DDI::Division * >::rep().
int DDDivision::nReplicas | ( | ) | const |
Definition at line 71 of file DDDivision.cc.
References DDBase< DDName, DDI::Division * >::rep().
Referenced by DDDividedGeometryObject::DDDividedGeometryObject().
double DDDivision::offset | ( | ) | const |
Definition at line 81 of file DDDivision.cc.
References DDBase< DDName, DDI::Division * >::rep().
Referenced by DDDividedGeometryObject::checkNDivAndWidth(), DDDividedGeometryObject::checkOffset(), and DDDivision().
const DDLogicalPart & DDDivision::parent | ( | ) | const |
Definition at line 86 of file DDDivision.cc.
References DDBase< DDName, DDI::Division * >::rep().
Referenced by Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), DDDividedGeometryObject::checkNDivAndWidth(), DDDividedGeometryObject::checkOffset(), DDDividedGeometryObject::checkParametersValidity(), DDDividedGeometryObject::execute(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), DDDividedGeometryObject::makeDDLogicalPart(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), and Vispa.Views.WidgetView.WidgetView::select().
double DDDivision::width | ( | ) | const |
Definition at line 76 of file DDDivision.cc.
References DDBase< DDName, DDI::Division * >::rep().
Referenced by DDDividedGeometryObject::DDDividedGeometryObject().
|
friend |
Definition at line 9 of file DDDivision.cc.