|
gwenhywfar 5.10.1
|
#include "gwenbuild/types/option_p.h"#include "gwenbuild/types/keyvaluepair.h"#include "gwenbuild/types/gwenbuild.h"#include <gwenhywfar/misc.h>
Go to the source code of this file.
| void GWB_Option_AddAlias | ( | GWB_OPTION * | option, |
| const char * | name, | ||
| const char * | value | ||
| ) |
Definition at line 106 of file option.c.
References GWB_KeyValuePair_new().
Referenced by GWB_ParseOption().


| void GWB_Option_AddChoice | ( | GWB_OPTION * | option, |
| const char * | s | ||
| ) |
Definition at line 149 of file option.c.
References GWEN_StringList_AppendString().

| void GWB_Option_Dump | ( | const GWB_OPTION * | option, |
| int | indent | ||
| ) |
Definition at line 172 of file option.c.
References GWBUILD_Debug_PrintKvpList(), GWBUILD_Debug_PrintStringList(), and GWBUILD_Debug_PrintValue().
Referenced by GWBUILD_Debug_PrintOptionList().


| void GWB_Option_free | ( | GWB_OPTION * | option | ) |
Definition at line 46 of file option.c.
References GWEN_FREE_OBJECT, GWEN_LIST_FINI, and GWEN_StringList_free().

| const char * GWB_Option_GetAlias | ( | const GWB_OPTION * | option, |
| const char * | name | ||
| ) |
Definition at line 116 of file option.c.
References GWB_KeyValuePair_List_GetValue().
Referenced by _checkStringListOption(), and _checkStringOption().


| GWB_KEYVALUEPAIR_LIST * GWB_Option_GetAliasList | ( | const GWB_OPTION * | option | ) |
| GWEN_STRINGLIST * GWB_Option_GetChoiceList | ( | const GWB_OPTION * | option | ) |
Definition at line 123 of file option.c.
Referenced by GWB_ParseOption().

| const char * GWB_Option_GetDefaultValue | ( | const GWB_OPTION * | option | ) |
Definition at line 84 of file option.c.
Referenced by _checkAgainstGivenOption().

| const char * GWB_Option_GetDefinePrefix | ( | const GWB_OPTION * | option | ) |
Definition at line 156 of file option.c.
Referenced by _checkStringListOption().

| const char * GWB_Option_GetId | ( | const GWB_OPTION * | option | ) |
Definition at line 63 of file option.c.
Referenced by _checkAgainstGivenOption(), _checkStringListOption(), _checkStringOption(), and GWB_Project_GetOptionById().

| int GWB_Option_GetOptionType | ( | const GWB_OPTION * | option | ) |
Definition at line 70 of file option.c.
Referenced by _checkAgainstGivenOption().

| int GWB_Option_HasChoices | ( | const GWB_OPTION * | option | ) |
Definition at line 130 of file option.c.
References GWEN_StringList_Count().

| int GWB_Option_IsValidChoice | ( | const GWB_OPTION * | option, |
| const char * | s | ||
| ) |
Definition at line 137 of file option.c.
References GWEN_StringList_Count(), and GWEN_StringList_HasString().
Referenced by _checkStringListOption(), and _checkStringOption().


| GWB_OPTION * GWB_Option_new | ( | const char * | id | ) |
Definition at line 30 of file option.c.
References GWEN_LIST_INIT, GWEN_NEW_OBJECT, GWEN_StringList_new(), and NULL.
Referenced by GWB_ParseOption().


| void GWB_Option_SetDefaultValue | ( | GWB_OPTION * | option, |
| const char * | s | ||
| ) |
Definition at line 91 of file option.c.
References NULL.
Referenced by GWB_ParseOption().

| void GWB_Option_SetDefinePrefix | ( | GWB_OPTION * | option, |
| const char * | s | ||
| ) |
Definition at line 163 of file option.c.
References NULL.
Referenced by GWB_ParseOption().

| void GWB_Option_SetOptionType | ( | GWB_OPTION * | option, |
| int | i | ||
| ) |
Definition at line 77 of file option.c.
Referenced by GWB_ParseOption().

| int GWB_OptionType_fromString | ( | const char * | s | ) |
Definition at line 205 of file option.c.
References GWB_OptionType_None, GWB_OptionType_String, GWB_OptionType_StringList, and GWB_OptionType_Unknown.
Referenced by GWB_ParseOption().

| const char * GWB_OptionType_toString | ( | int | t | ) |
Definition at line 191 of file option.c.
References GWB_OptionType_None, GWB_OptionType_String, GWB_OptionType_StringList, and GWB_OptionType_Unknown.