nl :: ArgParser :: HelpOptions
#include <src/lib/support/nlargparser.hpp>
مشترك OptionSet للتعامل مع خيارات الإعلامية (مساعدة، إصدار).
ملخص
ميراث
يرث من: NL :: :: ArgParser OptionSetBaseالبنائين والمدمرين | |
---|---|
HelpOptions (const char *appName, const char *appUsage, const char *appVersion) | |
HelpOptions (const char *appName, const char *appUsage, const char *appVersion, const char *appDesc) |
السمات العامة | |
---|---|
AppDesc | const char * وصف لغرض / سلوك التطبيق. |
AppName | const char * اسم تطبيق سطر الأوامر. |
AppUsage | const char * سلسلة قصيرة تصور بناء جملة سطر الأوامر للتطبيق. |
AppVersion | const char * |
الوظائف العامة | |
---|---|
HandleOption (const char *progName, OptionSet *optSet, int id, const char *name, const char *arg) | virtual bool |
PrintBriefUsage (FILE *s) | void اطبع وصفًا موجزًا لاستخدام الأمر متبوعًا بإرشادات حول كيفية الحصول على مزيد من المساعدة. |
PrintLongUsage ( OptionSet *optSets[], FILE *s) | void اطبع معلومات الاستخدام الكاملة ، بما في ذلك معلومات عن جميع الخيارات المتاحة. |
PrintVersion (FILE *s) | void |
السمات العامة
AppDesc
const char * AppDesc
وصف لغرض / سلوك التطبيق.
اسم التطبيق
const char * AppName
اسم تطبيق سطر الأوامر.
التطبيق
const char * AppUsage
سلسلة قصيرة تصور بناء جملة سطر الأوامر للتطبيق.
نسخة التطبيق
const char * AppVersion
الوظائف العامة
التعامل مع الخيار
virtual bool HandleOption( const char *progName, OptionSet *optSet, int id, const char *name, const char *arg )
HelpOptions
HelpOptions( const char *appName, const char *appUsage, const char *appVersion )
HelpOptions
HelpOptions( const char *appName, const char *appUsage, const char *appVersion, const char *appDesc )
طباعة موجز
void PrintBriefUsage( FILE *s )
اطبع وصفًا موجزًا لاستخدام الأمر متبوعًا بإرشادات حول كيفية الحصول على مزيد من المساعدة.
PrintLongUsage
void PrintLongUsage( OptionSet *optSets[], FILE *s )
اطبع معلومات الاستخدام الكاملة ، بما في ذلك معلومات عن جميع الخيارات المتاحة.
النسخة المطبوعة
void PrintVersion( FILE *s )
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":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]