Doxygen
Loading...
Searching...
No Matches
LayoutDocEntry Struct Referenceabstract

Base class representing a piece of a documentation page. More...

#include <src/layout.h>

+ Inheritance diagram for LayoutDocEntry:

Public Types

enum  Kind { ENTRY_SPECIFICATIONS }
 

Public Member Functions

virtual Kind kind () const =0
 
std::string entryToString () const
 
virtual std::string id () const =0
 
virtual bool visible () const =0
 

Detailed Description

Base class representing a piece of a documentation page.

Definition at line 31 of file layout.h.

Member Enumeration Documentation

◆ Kind

Enumerator
ENTRY_SPECIFICATIONS 

Definition at line 67 of file layout.h.

67 {
68#define ESPEC(x) x,
70#undef ESPEC
71 };
@ ENTRY_SPECIFICATIONS
Definition layout.h:69

Member Function Documentation

◆ entryToString()

std::string LayoutDocEntry::entryToString ( ) const
inline

Definition at line 73 of file layout.h.

74 {
75 switch (kind())
76 {
77#define ESPEC(x) case x: return #x; break;
79#undef ESPEC
80 default: return "unknown"; // to satisfy compiler
81 }
82 }
virtual Kind kind() const =0

References ENTRY_SPECIFICATIONS, and kind().

◆ id()

virtual std::string LayoutDocEntry::id ( ) const
pure virtual

◆ kind()

virtual Kind LayoutDocEntry::kind ( ) const
pure virtual

◆ visible()

virtual bool LayoutDocEntry::visible ( ) const
pure virtual

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