LibreOffice Module oox (master)  1
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
oox::drawingml::LayoutAtom Class Referenceabstract

abstract Atom for the layout More...

#include <diagramlayoutatoms.hxx>

Inheritance diagram for oox::drawingml::LayoutAtom:
[legend]
Collaboration diagram for oox::drawingml::LayoutAtom:
[legend]

Public Member Functions

 LayoutAtom (LayoutNode &rLayoutNode)
 
virtual ~LayoutAtom ()
 
LayoutNodegetLayoutNode ()
 
virtual void accept (LayoutAtomVisitor &)=0
 visitor acceptance More...
 
void setName (const OUString &sName)
 
const OUString & getName () const
 
const std::vector< LayoutAtomPtr > & getChildren () const
 
LayoutAtomPtr getParent () const
 
void dump (int level=0)
 

Static Public Member Functions

static void connect (const LayoutAtomPtr &pParent, const LayoutAtomPtr &pChild)
 

Protected Attributes

LayoutNodemrLayoutNode
 
std::vector< LayoutAtomPtrmpChildNodes
 
std::weak_ptr< LayoutAtommpParent
 
OUString msName
 

Private Member Functions

void addChild (const LayoutAtomPtr &pNode)
 
void setParent (const LayoutAtomPtr &pParent)
 

Detailed Description

abstract Atom for the layout

Definition at line 97 of file diagramlayoutatoms.hxx.

Constructor & Destructor Documentation

oox::drawingml::LayoutAtom::LayoutAtom ( LayoutNode rLayoutNode)
inline

Definition at line 100 of file diagramlayoutatoms.hxx.

virtual oox::drawingml::LayoutAtom::~LayoutAtom ( )
inlinevirtual

Definition at line 101 of file diagramlayoutatoms.hxx.

Member Function Documentation

virtual void oox::drawingml::LayoutAtom::accept ( LayoutAtomVisitor )
pure virtual
void oox::drawingml::LayoutAtom::addChild ( const LayoutAtomPtr pNode)
inlineprivate

Definition at line 116 of file diagramlayoutatoms.hxx.

References mpChildNodes.

static void oox::drawingml::LayoutAtom::connect ( const LayoutAtomPtr pParent,
const LayoutAtomPtr pChild 
)
inlinestatic
void oox::drawingml::LayoutAtom::dump ( int  level = 0)

Definition at line 770 of file diagramlayoutatoms.cxx.

References getChildren(), msName, and SAL_INFO.

const std::vector<LayoutAtomPtr>& oox::drawingml::LayoutAtom::getChildren ( ) const
inline
LayoutNode& oox::drawingml::LayoutAtom::getLayoutNode ( )
inline
const OUString& oox::drawingml::LayoutAtom::getName ( ) const
inline
LayoutAtomPtr oox::drawingml::LayoutAtom::getParent ( ) const
inline
void oox::drawingml::LayoutAtom::setName ( const OUString &  sName)
inline

Definition at line 110 of file diagramlayoutatoms.hxx.

References msName, and sName.

void oox::drawingml::LayoutAtom::setParent ( const LayoutAtomPtr pParent)
inlineprivate

Definition at line 118 of file diagramlayoutatoms.hxx.

References mpParent.

Member Data Documentation

std::vector< LayoutAtomPtr > oox::drawingml::LayoutAtom::mpChildNodes
protected

Definition at line 137 of file diagramlayoutatoms.hxx.

Referenced by addChild(), and getChildren().

std::weak_ptr<LayoutAtom> oox::drawingml::LayoutAtom::mpParent
protected

Definition at line 138 of file diagramlayoutatoms.hxx.

Referenced by getParent(), and setParent().

LayoutNode& oox::drawingml::LayoutAtom::mrLayoutNode
protected
OUString oox::drawingml::LayoutAtom::msName
protected

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