Public Types | Public Member Functions | Private Attributes | List of all members
rqt_multiplot::UrlItem Class Reference

#include <UrlItem.h>

Public Types

enum  Type { Scheme, Host, Path }
 

Public Member Functions

UrlItemaddChild (size_t row, Type type, const QModelIndex &index)
 
UrlItemgetChild (size_t row) const
 
const QModelIndex & getIndex () const
 
QModelIndex getIndex (Type type) const
 
size_t getNumChildren () const
 
UrlItemgetParent () const
 
int getRow () const
 
UrlSchemegetScheme () const
 
Type getType () const
 
void setIndex (const QModelIndex &index)
 
void setScheme (UrlScheme *scheme)
 
void setType (Type type)
 
 UrlItem (UrlScheme *scheme=0, Type type=Scheme, const QModelIndex &index=QModelIndex(), UrlItem *parent=0)
 
 ~UrlItem ()
 

Private Attributes

QMap< size_t, UrlItem * > children_
 
QModelIndex index_
 
UrlItemparent_
 
UrlSchemescheme_
 
Type type_
 

Detailed Description

Definition at line 28 of file UrlItem.h.

Member Enumeration Documentation

Enumerator
Scheme 
Host 
Path 

Definition at line 30 of file UrlItem.h.

Constructor & Destructor Documentation

rqt_multiplot::UrlItem::UrlItem ( UrlScheme scheme = 0,
Type  type = Scheme,
const QModelIndex &  index = QModelIndex(),
UrlItem parent = 0 
)

Definition at line 27 of file UrlItem.cpp.

rqt_multiplot::UrlItem::~UrlItem ( )

Definition at line 35 of file UrlItem.cpp.

Member Function Documentation

UrlItem * rqt_multiplot::UrlItem::addChild ( size_t  row,
Type  type,
const QModelIndex &  index 
)

Definition at line 115 of file UrlItem.cpp.

UrlItem * rqt_multiplot::UrlItem::getChild ( size_t  row) const

Definition at line 53 of file UrlItem.cpp.

const QModelIndex & rqt_multiplot::UrlItem::getIndex ( ) const

Definition at line 94 of file UrlItem.cpp.

QModelIndex rqt_multiplot::UrlItem::getIndex ( Type  type) const

Definition at line 98 of file UrlItem.cpp.

size_t rqt_multiplot::UrlItem::getNumChildren ( ) const

Definition at line 49 of file UrlItem.cpp.

UrlItem * rqt_multiplot::UrlItem::getParent ( ) const

Definition at line 45 of file UrlItem.cpp.

int rqt_multiplot::UrlItem::getRow ( ) const

Definition at line 62 of file UrlItem.cpp.

UrlScheme * rqt_multiplot::UrlItem::getScheme ( ) const

Definition at line 78 of file UrlItem.cpp.

UrlItem::Type rqt_multiplot::UrlItem::getType ( ) const

Definition at line 86 of file UrlItem.cpp.

void rqt_multiplot::UrlItem::setIndex ( const QModelIndex &  index)

Definition at line 90 of file UrlItem.cpp.

void rqt_multiplot::UrlItem::setScheme ( UrlScheme scheme)

Definition at line 74 of file UrlItem.cpp.

void rqt_multiplot::UrlItem::setType ( Type  type)

Definition at line 82 of file UrlItem.cpp.

Member Data Documentation

QMap<size_t, UrlItem*> rqt_multiplot::UrlItem::children_
private

Definition at line 57 of file UrlItem.h.

QModelIndex rqt_multiplot::UrlItem::index_
private

Definition at line 61 of file UrlItem.h.

UrlItem* rqt_multiplot::UrlItem::parent_
private

Definition at line 56 of file UrlItem.h.

UrlScheme* rqt_multiplot::UrlItem::scheme_
private

Definition at line 59 of file UrlItem.h.

Type rqt_multiplot::UrlItem::type_
private

Definition at line 60 of file UrlItem.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44