var searchIndex = {}; searchIndex["argonaut"] = {"doc":"Lets the user structure the arguments given to a program through a\ncommand-line.","items":[[3,"Parser","argonaut","An argument parser.",null,null],[3,"Arg","","An argument description for the parser. Use methods on 'arg' to create them.",null,null],[3,"OptArg","","The builder for an optional argument.",null,null],[3,"ParsedArgs","","The parsed arguments of a succesful parsing.",null,null],[3,"ParsedArgsAccess","","An object to access a named member of the parsed arguments.",null,null],[4,"ParseStatus","","The result of a succesful parse. Either all the arguments are parsed and\nbound, or an interrupt flag is encountered and the handle of the\ncorresponding argument is returned.",null,null],[13,"Parsed","","",0,null],[13,"Interrupted","","",0,null],[11,"fmt","","",1,null],[11,"new","","Creates a new set of parsed arguments.",1,{"inputs":[{"name":"hashmap"},{"name":"option"},{"name":"hashmap"},{"name":"hashmap"},{"name":"hashmap"},{"name":"hashmap"}],"output":{"name":"parsedargs"}}],[11,"positional","","Returns the positional argument with the given name if it exists.",1,null],[11,"named","","Accesses a flag with the given long name in the parsed arguments.",1,null],[11,"trail","","Returns the trail for the parsed arguments if any was specified.",1,null],[11,"switch","","Returns the value of a switch.",2,null],[11,"single","","Returns the value of a flag with a single parameter.",2,null],[11,"multiple","","Returns the value of a flag with multiple parameters.",2,null],[11,"fmt","","",3,null],[11,"positional","","Creates a positional argument with the given parameter name.",3,{"inputs":[{"name":"str"}],"output":{"name":"arg"}}],[11,"optional_trail","","Creates an argument that requires zero or more trailing parameters.",3,{"inputs":[],"output":{"name":"arg"}}],[11,"required_trail","","Creates an argument requires one or more trailing parameters.",3,{"inputs":[],"output":{"name":"arg"}}],[11,"named_and_short","","Creates a new optional argument with a short name (ex 'h' for -h).",3,{"inputs":[{"name":"str"},{"name":"char"}],"output":{"name":"optarg"}}],[11,"named","","Creates a new optional argument with the given flag name.\n(ex "help" for --help).",3,{"inputs":[{"name":"str"}],"output":{"name":"optarg"}}],[11,"option_name","","Returns the option name of this argument.",3,null],[11,"fmt","","",4,null],[11,"single","","The argument takes a single parameter.",4,null],[11,"one_or_more","","The argument takes one or more parameters.",4,null],[11,"zero_or_more","","The argument takes zero or more parameters.",4,null],[11,"interrupt","","The argument is an interrupt (the parse is interrupted when it is encountered).",4,null],[11,"switch","","The argument is a switch (boolean flag).",4,null],[11,"fmt","","",0,null],[11,"fmt","","",5,null],[11,"new","","Creates a new parser with the given title.",5,{"inputs":[],"output":{"name":"self"}}],[11,"add","","Attempts to add an argument to this parser.",5,null],[11,"parse","","Attempts to parse the given arguments with this parser.",5,null]],"paths":[[4,"ParseStatus"],[3,"ParsedArgs"],[3,"ParsedArgsAccess"],[3,"Arg"],[3,"OptArg"],[3,"Parser"]]}; initSearch(searchIndex);