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 ()
 

Detailed Description

Base class representing a piece of a documentation page.

Definition at line 32 of file layout.h.

Member Enumeration Documentation

◆ Kind

Enumerator
ENTRY_SPECIFICATIONS 

Definition at line 68 of file layout.h.

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

Member Function Documentation

◆ entryToString()

std::string LayoutDocEntry::entryToString ( )
inline

Definition at line 74 of file layout.h.

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

References ENTRY_SPECIFICATIONS, and kind().

◆ kind()

virtual Kind LayoutDocEntry::kind ( ) const
pure virtual

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