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 98 of file diagramlayoutatoms.hxx.

Constructor & Destructor Documentation

◆ LayoutAtom()

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

Definition at line 101 of file diagramlayoutatoms.hxx.

◆ ~LayoutAtom()

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

Definition at line 102 of file diagramlayoutatoms.hxx.

Member Function Documentation

◆ accept()

virtual void oox::drawingml::LayoutAtom::accept ( LayoutAtomVisitor )
pure virtual

◆ addChild()

void oox::drawingml::LayoutAtom::addChild ( const LayoutAtomPtr pNode)
inlineprivate

Definition at line 117 of file diagramlayoutatoms.hxx.

References mpChildNodes.

◆ connect()

static void oox::drawingml::LayoutAtom::connect ( const LayoutAtomPtr pParent,
const LayoutAtomPtr pChild 
)
inlinestatic

◆ dump()

void oox::drawingml::LayoutAtom::dump ( int  level = 0)

Definition at line 770 of file diagramlayoutatoms.cxx.

References getChildren(), msName, and SAL_INFO.

◆ getChildren()

const std::vector< LayoutAtomPtr > & oox::drawingml::LayoutAtom::getChildren ( ) const
inline

◆ getLayoutNode()

LayoutNode & oox::drawingml::LayoutAtom::getLayoutNode ( )
inline

◆ getName()

const OUString & oox::drawingml::LayoutAtom::getName ( ) const
inline

◆ getParent()

LayoutAtomPtr oox::drawingml::LayoutAtom::getParent ( ) const
inline

◆ setName()

void oox::drawingml::LayoutAtom::setName ( const OUString &  sName)
inline

Definition at line 111 of file diagramlayoutatoms.hxx.

References msName, and sName.

◆ setParent()

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

Definition at line 119 of file diagramlayoutatoms.hxx.

References mpParent.

Member Data Documentation

◆ mpChildNodes

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

Definition at line 138 of file diagramlayoutatoms.hxx.

Referenced by addChild(), and getChildren().

◆ mpParent

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

Definition at line 139 of file diagramlayoutatoms.hxx.

Referenced by getParent(), and setParent().

◆ mrLayoutNode

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

◆ msName

OUString oox::drawingml::LayoutAtom::msName
protected

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