Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::BendString Class Reference

Represents the bends on an edge e consisting of vertical and horizontal segments. More...

#include <ogdf/orthogonal/OrthoRep.h>

Public Member Functions

 BendString ()
 
 BendString (BendString &&bs)
 
 BendString (char c, size_t n)
 
 BendString (const BendString &bs)
 
 BendString (const char *str)
 
 ~BendString ()
 
BendStringoperator+= (const BendString &bs)
 
BendStringoperator+= (const char *str)
 
BendStringoperator= (BendString &&bs)
 
BendStringoperator= (const BendString &bs)
 
charoperator[] (size_t i)
 
char operator[] (size_t i) const
 
void set ()
 
void set (char c, size_t n)
 
void set (const char *str)
 
void set (OrthoBendType obt, size_t n)
 
size_t size () const
 
const chartoString () const
 

Private Member Functions

void init (char c, size_t n)
 
void init (const BendString &bs)
 
void init (const char *str)
 

Private Attributes

size_t m_len
 
charm_pBend
 

Friends

std::ostream & operator<< (std::ostream &os, const BendString &bs)
 

Detailed Description

Represents the bends on an edge e consisting of vertical and horizontal segments.

Definition at line 67 of file OrthoRep.h.

Constructor & Destructor Documentation

◆ BendString() [1/5]

ogdf::BendString::BendString ( )
inline

Definition at line 70 of file OrthoRep.h.

◆ BendString() [2/5]

ogdf::BendString::BendString ( const char str)
inlineexplicit

Definition at line 77 of file OrthoRep.h.

◆ BendString() [3/5]

ogdf::BendString::BendString ( char  c,
size_t  n 
)
inline

Definition at line 81 of file OrthoRep.h.

◆ BendString() [4/5]

ogdf::BendString::BendString ( const BendString bs)
inline

Definition at line 84 of file OrthoRep.h.

◆ BendString() [5/5]

ogdf::BendString::BendString ( BendString &&  bs)
inline

Definition at line 87 of file OrthoRep.h.

◆ ~BendString()

ogdf::BendString::~BendString ( )
inline

Definition at line 93 of file OrthoRep.h.

Member Function Documentation

◆ init() [1/3]

void ogdf::BendString::init ( char  c,
size_t  n 
)
private

◆ init() [2/3]

void ogdf::BendString::init ( const BendString bs)
private

◆ init() [3/3]

void ogdf::BendString::init ( const char str)
private

◆ operator+=() [1/2]

BendString & ogdf::BendString::operator+= ( const BendString bs)
inline

Definition at line 162 of file OrthoRep.h.

◆ operator+=() [2/2]

BendString & ogdf::BendString::operator+= ( const char str)
inline

Definition at line 160 of file OrthoRep.h.

◆ operator=() [1/2]

BendString & ogdf::BendString::operator= ( BendString &&  bs)
inline

Definition at line 149 of file OrthoRep.h.

◆ operator=() [2/2]

BendString & ogdf::BendString::operator= ( const BendString bs)
inline

Definition at line 142 of file OrthoRep.h.

◆ operator[]() [1/2]

char & ogdf::BendString::operator[] ( size_t  i)
inline

Definition at line 102 of file OrthoRep.h.

◆ operator[]() [2/2]

char ogdf::BendString::operator[] ( size_t  i) const
inline

Definition at line 96 of file OrthoRep.h.

◆ set() [1/4]

void ogdf::BendString::set ( )
inline

Definition at line 135 of file OrthoRep.h.

◆ set() [2/4]

void ogdf::BendString::set ( char  c,
size_t  n 
)
inline

Definition at line 124 of file OrthoRep.h.

◆ set() [3/4]

void ogdf::BendString::set ( const char str)
inline

Definition at line 117 of file OrthoRep.h.

◆ set() [4/4]

void ogdf::BendString::set ( OrthoBendType  obt,
size_t  n 
)
inline

Definition at line 129 of file OrthoRep.h.

◆ size()

size_t ogdf::BendString::size ( ) const
inline

Definition at line 109 of file OrthoRep.h.

◆ toString()

const char * ogdf::BendString::toString ( ) const
inline

Definition at line 113 of file OrthoRep.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const BendString bs 
)
friend

Definition at line 197 of file OrthoRep.h.

Member Data Documentation

◆ m_len

size_t ogdf::BendString::m_len
private

Definition at line 215 of file OrthoRep.h.

◆ m_pBend

char* ogdf::BendString::m_pBend
private

Definition at line 213 of file OrthoRep.h.


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