Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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)
 
char & operator[] (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 char * toString () 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
 
char * m_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 73 of file OrthoRep.h.

Constructor & Destructor Documentation

◆ BendString() [1/5]

ogdf::BendString::BendString ( )
inline

Definition at line 76 of file OrthoRep.h.

◆ BendString() [2/5]

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

Definition at line 83 of file OrthoRep.h.

◆ BendString() [3/5]

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

Definition at line 87 of file OrthoRep.h.

◆ BendString() [4/5]

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

Definition at line 90 of file OrthoRep.h.

◆ BendString() [5/5]

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

Definition at line 93 of file OrthoRep.h.

◆ ~BendString()

ogdf::BendString::~BendString ( )
inline

Definition at line 99 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 168 of file OrthoRep.h.

◆ operator+=() [2/2]

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

Definition at line 166 of file OrthoRep.h.

◆ operator=() [1/2]

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

Definition at line 155 of file OrthoRep.h.

◆ operator=() [2/2]

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

Definition at line 148 of file OrthoRep.h.

◆ operator[]() [1/2]

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

Definition at line 108 of file OrthoRep.h.

◆ operator[]() [2/2]

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

Definition at line 102 of file OrthoRep.h.

◆ set() [1/4]

void ogdf::BendString::set ( )
inline

Definition at line 141 of file OrthoRep.h.

◆ set() [2/4]

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

Definition at line 130 of file OrthoRep.h.

◆ set() [3/4]

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

Definition at line 123 of file OrthoRep.h.

◆ set() [4/4]

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

Definition at line 135 of file OrthoRep.h.

◆ size()

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

Definition at line 115 of file OrthoRep.h.

◆ toString()

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

Definition at line 119 of file OrthoRep.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 203 of file OrthoRep.h.

Member Data Documentation

◆ m_len

size_t ogdf::BendString::m_len
private

Definition at line 221 of file OrthoRep.h.

◆ m_pBend

char* ogdf::BendString::m_pBend
private

Definition at line 219 of file OrthoRep.h.


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