ClassInfo Struct

#include <models.h>

Public Members

std::string name
std::string comment
int line
bool isStruct
bool isTemplate = false
std::string templateParams
std::string parent
std::string header
std::vector<std::string> bases
std::vector<MethodInfo> methods
std::vector<FieldInfo> fields
std::vector<EnumInfo> enums
std::vector<AliasInfo> aliases
std::set<std::string> processedMethodSignatures

Public Functions

ClassInfo(const std::string & n, const std::string & c, int l, bool isS = false)

Detailed Description

Represents a class/struct (or class template)

Member Variable Documentation

bool isStruct

true if struct, false if class

std::string templateParams

"template<typename... Args>" when isTemplate

std::string parent

Qualified owner name for nested types; empty at namespace scope

std::vector<std::string> bases

direct base class names, unqualified

std::vector<MethodInfo> methods

all access levels; generators filter

std::vector<FieldInfo> fields

all access levels; generators filter

std::vector<EnumInfo> enums

public nested enums only

std::vector<AliasInfo> aliases

public nested aliases only

Member Function Documentation

ClassInfo(const std::string & n, const std::string & c, int l, bool isS = false)

No description available.

Appearance
Theme
—