| 
    Doxygen
    
   | 
 
#include <scopedtypevariant.h>
 ScopedTypeVariant 的协作图:Public 类型 | |
| enum | Variant { Global, Local, Dummy } | 
| possible variant types  更多... | |
Public 成员函数 | |
| ScopedTypeVariant () | |
| default constructor for creating a variant of type Dummy  更多... | |
| ScopedTypeVariant (const Definition *d) | |
| constructor for creating a variant of type Global  更多... | |
| ScopedTypeVariant (const QCString &name) | |
| constructor for creating a variant of type Local  更多... | |
| ScopedTypeVariant (const ScopedTypeVariant &stv) | |
| copy constructor  更多... | |
| ScopedTypeVariant (ScopedTypeVariant &&stv) noexcept | |
| move constructor  更多... | |
| ScopedTypeVariant & | operator= (ScopedTypeVariant stv) | 
| assignment operator  更多... | |
| ~ScopedTypeVariant () | |
| destructor  更多... | |
| void | setGlobal (const Definition *def) | 
| Turn the variant into a Global type  更多... | |
| LocalDef * | setLocal (const QCString &name) | 
| Turn the variant into a Local type  更多... | |
| void | setDummy () | 
| Turn the variant into a Dummy type  更多... | |
| Variant | type () const | 
| QCString | name () const | 
| LocalDef * | localDef () const | 
| const Definition * | globalDef () const | 
Private 属性 | |
| Variant | m_variant | 
| QCString | m_name | 
| union { | |
| const Definition * globalDef | |
| LocalDef * localDef | |
| } | m_u | 
友元 | |
| void | swap (ScopedTypeVariant &first, ScopedTypeVariant &second) | 
| swap function  更多... | |
Variant class for a scoped type.
Variants:
在文件 scopedtypevariant.h 第 45 行定义.
      
  | 
  inline | 
      
  | 
  inlineexplicit | 
constructor for creating a variant of type Global
在文件 scopedtypevariant.h 第 61 行定义.
引用了 Dummy, Global, m_name, m_u, m_variant , 以及 Definition::name().
      
  | 
  inlineexplicit | 
      
  | 
  inline | 
      
  | 
  inlinenoexcept | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  friend | 
| const Definition* ScopedTypeVariant::globalDef | 
在文件 scopedtypevariant.h 第 167 行定义.
被这些函数引用 ScopedTypeVariant().
| LocalDef* ScopedTypeVariant::localDef | 
在文件 scopedtypevariant.h 第 168 行定义.
被这些函数引用 ScopedTypeVariant().
      
  | 
  private | 
在文件 scopedtypevariant.h 第 164 行定义.
被这些函数引用 name(), ScopedTypeVariant(), setDummy(), setGlobal() , 以及 setLocal().
| union { ... } ScopedTypeVariant::m_u | 
被这些函数引用 globalDef(), localDef(), ScopedTypeVariant(), setDummy(), setGlobal(), setLocal() , 以及 ~ScopedTypeVariant().
      
  | 
  private | 
在文件 scopedtypevariant.h 第 163 行定义.
被这些函数引用 globalDef(), localDef(), ScopedTypeVariant(), setDummy(), setGlobal(), setLocal(), type() , 以及 ~ScopedTypeVariant().