Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
ValuedDeclaration Struct Reference

#include <template_declaration.h>

+ Collaboration diagram for ValuedDeclaration:

Classes

struct  PrintingPolicy
 

Public Member Functions

std::string to_std_string (PrintingPolicy policy=default_printing_policy()) const
 

Static Public Member Functions

static PrintingPolicy default_printing_policy ()
 

Public Attributes

std::string type
 
std::string name
 
std::string initializer
 

Detailed Description

Definition at line 57 of file template_declaration.h.

Member Function Documentation

◆ default_printing_policy()

static PrintingPolicy ValuedDeclaration::default_printing_policy ( )
inlinestatic

Definition at line 72 of file template_declaration.h.

◆ to_std_string()

std::string ValuedDeclaration::to_std_string ( PrintingPolicy policy = default_printing_policy()) const
inline

Definition at line 132 of file template_declaration.h.

References ValuedDeclaration::PrintingPolicy::include_initializer, ValuedDeclaration::PrintingPolicy::include_name, ValuedDeclaration::PrintingPolicy::include_type, initializer, name, and type.

Referenced by RelaxedTemplateParameter::to_std_string().

+ Here is the caller graph for this function:

Member Data Documentation

◆ initializer

std::string ValuedDeclaration::initializer

Definition at line 68 of file template_declaration.h.

Referenced by to_std_string().

◆ name

std::string ValuedDeclaration::name

◆ type

std::string ValuedDeclaration::type

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