MethodInfo Struct

#include <models.h>

Public Members

std::string name
std::string returnType
std::string comment
std::vector<ParameterInfo> parameters
int line
bool isConstructor
bool isDestructor
AccessSpecifier access
bool isStatic
bool isVirtual
bool isTemplate
std::string templateParams

Public Functions

MethodInfo(const std::string & n, const std::string & rt, const std::string & c, int l, bool isCtor = false, bool isDtor = false, AccessSpecifier as = AccessSpecifier::Unknown, bool isS = false, bool isV = false, bool isT = false)

Detailed Description

Represents a method/function. Namespace-scope (free) functions reuse it with access Public and no ctor/dtor/virtual flags.

Member Variable Documentation

std::string templateParams

"template" when isTemplate

Member Function Documentation

MethodInfo(const std::string & n, const std::string & rt, const std::string & c, int l, bool isCtor = false, bool isDtor = false, AccessSpecifier as = AccessSpecifier::Unknown, bool isS = false, bool isV = false, bool isT = false)

No description available.

Appearance
Theme
—