nl :: ArgParser :: OptionDef
#include <src/lib/support/nlargparser.hpp>
Xác định một tùy chọn dòng lệnh.
Tóm lược
Thuộc tính công cộng |
---|
ArgType | OptionArgumentType Một giá trị được liệt kê xác định xem tùy chọn có tham số hay không. |
Id | uint16_t Id số nguyên cho tùy chọn. |
Name | const char * Tên dài cho tùy chọn. |
Thuộc tính công cộng
ArgType
OptionArgumentType nl::ArgParser::OptionDef::ArgType
Một giá trị được liệt kê xác định xem tùy chọn có tham số hay không.
Tôi
uint16_t nl::ArgParser::OptionDef::Id
Id số nguyên cho tùy chọn.
Nếu giá trị nằm trong phạm vi ký tự ASCII đồ họa, giá trị cũng được sử dụng làm tên viết tắt của tùy chọn.
Tên
const char * nl::ArgParser::OptionDef::Name
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2019-01-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]