Home | History | Annotate | Download | only in python_gflags

Lines Matching refs:FlagValues

54 'FlagValues' object (typically the global FlagValues FLAGS, defined
55 here). The 'FlagValues' object can scan the command line arguments and
58 available as attributes of the 'FlagValues' object.
60 Code can access the flag through a FlagValues object, for instance
462 impossible to pass None default value back to SWIG. See FlagValues.SetDefault
482 flag_values: FlagValues object containing the first definition of
485 FlagValues object where the second definition of flagname occurs.
780 class FlagValues:
783 A 'FlagValues' can then scan command line arguments, passing flag
786 'FlagValues' object is needed by an application: gflags.FLAGS
794 as attributes of this 'FlagValues' object, through __getattr__. Both
809 The str() operator of a 'FlagValues' object provides help for all of
945 # internals of this FlagValues object.
993 """Appends flags registered in another FlagValues instance.
1012 """Remove flags that were previously appended from another FlagValues.
1190 """Parses flags from argv; stores parsed flags into this FlagValues object.
1676 """Returns a string with the flags assignments from this FlagValues object.
1760 # end of FlagValues definition
1763 # The global FlagValues instance
1764 FLAGS = FlagValues()
1824 typically only called by a 'FlagValues' object. The Parse() method is
1918 # validators (we don't have FlagValues here, so we can not check
1922 # FlagValues with each flag, but this seems to be an overkill.
2103 flag_values: FlagValues
2119 flag_values: FlagValues
2136 flag_values: FlagValues
2169 flag_values: FlagValues object the flag will be registered with.
2179 """Registers a 'Flag' object with a 'FlagValues' object.
2192 if isinstance(flag_values, FlagValues):
2198 # registration only if flag_values is a real FlagValues object.
2214 flag_values: A FlagValues object that the flags listed in
2218 key_flag_values: A FlagValues object that (among possibly many
2255 flag_values: A FlagValues object. This should almost never
2275 flag_values: A FlagValues object. This should almost never need
2298 # FlagValues, where no other module should register flags).
2849 _SPECIAL_FLAGS = FlagValues()