Doxygen
Loading...
Searching...
No Matches
entry.h File Reference
#include <vector>
#include <memory>
#include <sstream>
#include <functional>
#include "types.h"
#include "arguments.h"
#include "reflist.h"
#include "textstream.h"
#include "configvalues.h"
+ Include dependency graph for entry.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CommandOverrides
 
struct  BaseInfo
 This class stores information about an inheritance relation. More...
 
struct  TagInfo
 This struct is used to capture the tag file information for an Entry. More...
 
class  Entry
 Represents an unstructured piece of information, about an entity found in the sources. More...
 

Macros

#define COMMAND_OVERRIDES
 
#define OVERRIDE_ENTRY(type, store_type, bits, name)
 
#define OVERRIDE_ENTRY(type, store_type, bits, name)
 

Typedefs

typedef std::vector< std::shared_ptr< Entry > > EntryList
 

Macro Definition Documentation

◆ COMMAND_OVERRIDES

#define COMMAND_OVERRIDES
Value:
OVERRIDE_ENTRY(bool, bool, 1, callGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, callerGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, referencedByRelation ) \
OVERRIDE_ENTRY(bool, bool, 1, referencesRelation ) \
OVERRIDE_ENTRY(bool, bool, 1, inlineSource ) \
OVERRIDE_ENTRY(bool, bool, 1, includeGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, includedByGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, directoryGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, collaborationGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, groupGraph ) \
OVERRIDE_ENTRY(bool, bool, 1, enumValues ) \
OVERRIDE_ENTRY(CLASS_GRAPH_t, int, 3, inheritanceGraph )
#define OVERRIDE_ENTRY(type, store_type, bits, name)
Definition entry.h:54

Definition at line 37 of file entry.h.

37#define COMMAND_OVERRIDES \
38 OVERRIDE_ENTRY(bool, bool, 1, callGraph ) \
39 OVERRIDE_ENTRY(bool, bool, 1, callerGraph ) \
40 OVERRIDE_ENTRY(bool, bool, 1, referencedByRelation ) \
41 OVERRIDE_ENTRY(bool, bool, 1, referencesRelation ) \
42 OVERRIDE_ENTRY(bool, bool, 1, inlineSource ) \
43 OVERRIDE_ENTRY(bool, bool, 1, includeGraph ) \
44 OVERRIDE_ENTRY(bool, bool, 1, includedByGraph ) \
45 OVERRIDE_ENTRY(bool, bool, 1, directoryGraph ) \
46 OVERRIDE_ENTRY(bool, bool, 1, collaborationGraph ) \
47 OVERRIDE_ENTRY(bool, bool, 1, groupGraph ) \
48 OVERRIDE_ENTRY(bool, bool, 1, enumValues ) \
49 OVERRIDE_ENTRY(CLASS_GRAPH_t, int, 3, inheritanceGraph )

◆ OVERRIDE_ENTRY [1/2]

#define OVERRIDE_ENTRY ( type,
store_type,
bits,
name )
Value:
store_type m_##name : bits; \
bool m_##name##ExplicitlySet : 1;

Definition at line 54 of file entry.h.

54#define OVERRIDE_ENTRY(type,store_type,bits,name) \
55 store_type m_##name : bits; \
56 bool m_##name##ExplicitlySet : 1;

◆ OVERRIDE_ENTRY [2/2]

#define OVERRIDE_ENTRY ( type,
store_type,
bits,
name )
Value:
void override_##name(type value) { \
m_##name = to_store_type(value); \
m_##name##ExplicitlySet = true; \
/* printf("overrule_%s(%d) isSet=%d\n",#name,value,m_##name##ExplicitlySet); */ \
} \
void apply_##name(std::function<void(type)> func) const { \
/* printf("apply_%s(%d) isSet=%d\n",#name,m_##name,m_##name##ExplicitlySet); */ \
if (m_##name##ExplicitlySet) func(from_store_type(m_##name)); \
}

Definition at line 54 of file entry.h.

54#define OVERRIDE_ENTRY(type,store_type,bits,name) \
55 store_type m_##name : bits; \
56 bool m_##name##ExplicitlySet : 1;

Typedef Documentation

◆ EntryList

typedef std::vector< std::shared_ptr<Entry> > EntryList

Definition at line 269 of file entry.h.