🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::Field类 参考

#include <Field.hpp>

+ 类 ast::Field 继承关系图:

Public 成员函数

 Field (StringView name, StringView desc="")
 
const std::string & name () const
 
void setName (StringView name)
 
const std::string & desc () const
 
void setDesc (StringView desc)
 

Protected 属性

std::string name_
 
std::string desc_
 

详细描述

反射字段类

反射字段类,包含字段的名称、描述等信息

成员函数说明

◆ setDesc()

void ast::Field::setDesc ( StringView desc)
inline

设置字段描述

参数
desc字段描述

◆ setName()

void ast::Field::setName ( StringView name)
inline

设置字段名称

参数
name字段名称

该类的文档由以下文件生成: