Doxygen
Loading...
Searching...
No Matches
MemberName Class Reference

#include <src/membername.h>

+ Collaboration diagram for MemberName:

Public Types

using Ptr = std::unique_ptr<MemberDef>
 
using Vec = std::vector<Ptr>
 
using iterator = typename Vec::iterator
 
using const_iterator = typename Vec::const_iterator
 
using reverse_iterator = typename Vec::reverse_iterator
 
using const_reverse_iterator = typename Vec::const_reverse_iterator
 

Public Member Functions

 MemberName (const QCString &name)
 
QCString memberName () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator crbegin () const
 
const_reverse_iterator crend () const
 
bool empty () const
 
size_t size () const
 
Ptrback ()
 
const Ptrback () const
 
Ptrfront ()
 
const Ptrfront () const
 
iterator erase (iterator it)
 
void push_back (Ptr &&p)
 

Private Attributes

QCString m_name
 
Vec m_members
 

Detailed Description

Definition at line 24 of file membername.h.

Member Typedef Documentation

◆ const_iterator

using MemberName::const_iterator = typename Vec::const_iterator

Definition at line 30 of file membername.h.

◆ const_reverse_iterator

using MemberName::const_reverse_iterator = typename Vec::const_reverse_iterator

Definition at line 32 of file membername.h.

◆ iterator

using MemberName::iterator = typename Vec::iterator

Definition at line 29 of file membername.h.

◆ Ptr

using MemberName::Ptr = std::unique_ptr<MemberDef>

Definition at line 27 of file membername.h.

◆ reverse_iterator

using MemberName::reverse_iterator = typename Vec::reverse_iterator

Definition at line 31 of file membername.h.

◆ Vec

using MemberName::Vec = std::vector<Ptr>

Definition at line 28 of file membername.h.

Constructor & Destructor Documentation

◆ MemberName()

MemberName::MemberName ( const QCString & name)
inline

Definition at line 34 of file membername.h.

34: m_name(name) {}
QCString m_name
Definition membername.h:57

References m_name.

Member Function Documentation

◆ back() [1/2]

Ptr & MemberName::back ( )
inline

Definition at line 49 of file membername.h.

49{ return m_members.back(); }
Vec m_members
Definition membername.h:58

References m_members.

◆ back() [2/2]

const Ptr & MemberName::back ( ) const
inline

Definition at line 50 of file membername.h.

50{ return m_members.back(); }

References m_members.

◆ begin() [1/2]

iterator MemberName::begin ( )
inline

Definition at line 37 of file membername.h.

37{ return m_members.begin(); }

References m_members.

Referenced by addOverloaded(), and MemberNameLinkedMap::take().

◆ begin() [2/2]

const_iterator MemberName::begin ( ) const
inline

Definition at line 39 of file membername.h.

39{ return m_members.begin(); }

References m_members.

◆ cbegin()

const_iterator MemberName::cbegin ( ) const
inline

Definition at line 41 of file membername.h.

41{ return m_members.cbegin(); }

References m_members.

◆ cend()

const_iterator MemberName::cend ( ) const
inline

Definition at line 42 of file membername.h.

42{ return m_members.cend(); }

References m_members.

◆ crbegin()

const_reverse_iterator MemberName::crbegin ( ) const
inline

Definition at line 45 of file membername.h.

45{ return m_members.crbegin(); }

References m_members.

◆ crend()

const_reverse_iterator MemberName::crend ( ) const
inline

Definition at line 46 of file membername.h.

46{ return m_members.crend(); }

References m_members.

◆ empty()

bool MemberName::empty ( ) const
inline

Definition at line 47 of file membername.h.

47{ return m_members.empty(); }

References m_members.

Referenced by MemberNameLinkedMap::take().

◆ end() [1/2]

iterator MemberName::end ( )
inline

Definition at line 38 of file membername.h.

38{ return m_members.end(); }

References m_members.

Referenced by addOverloaded(), and MemberNameLinkedMap::take().

◆ end() [2/2]

const_iterator MemberName::end ( ) const
inline

Definition at line 40 of file membername.h.

40{ return m_members.end(); }

References m_members.

◆ erase()

iterator MemberName::erase ( iterator it)
inline

Definition at line 53 of file membername.h.

53{ return m_members.erase(it); }

References m_members.

Referenced by MemberNameLinkedMap::take().

◆ front() [1/2]

Ptr & MemberName::front ( )
inline

Definition at line 51 of file membername.h.

51{ return m_members.front(); }

References m_members.

Referenced by addOverloaded(), setCallContextForVar(), and writeObjCMethodCall().

◆ front() [2/2]

const Ptr & MemberName::front ( ) const
inline

Definition at line 52 of file membername.h.

52{ return m_members.front(); }

References m_members.

◆ memberName()

QCString MemberName::memberName ( ) const
inline

Definition at line 35 of file membername.h.

35{ return m_name; }

References m_name.

◆ push_back()

◆ rbegin()

reverse_iterator MemberName::rbegin ( )
inline

Definition at line 43 of file membername.h.

43{ return m_members.rbegin(); }

References m_members.

Referenced by getDefsOld().

◆ rend()

reverse_iterator MemberName::rend ( )
inline

Definition at line 44 of file membername.h.

44{ return m_members.rend(); }

References m_members.

Referenced by getDefsOld().

◆ size()

size_t MemberName::size ( ) const
inline

Definition at line 48 of file membername.h.

48{ return m_members.size(); }

References m_members.

Referenced by addOverloaded(), findMember(), setCallContextForVar(), and writeObjCMethodCall().

Member Data Documentation

◆ m_members

Vec MemberName::m_members
private

◆ m_name

QCString MemberName::m_name
private

Definition at line 57 of file membername.h.

Referenced by MemberName(), and memberName().


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