Lines Matching refs:apply
411 void apply(Option &O) const { O.setDescription(Desc); }
421 void apply(Option &O) const { O.setValueStr(Desc); }
432 template <class Opt> void apply(Opt &O) const { O.setInitialValue(Init); }
448 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); }
462 template <class Opt> void apply(Opt &O) const { O.addCategory(Category); }
471 template <class Opt> void apply(Opt &O) const { O.addSubCommand(Sub); }
481 template <typename Opt> void apply(Opt &O) const { O.setCallback(CB); }
683 template <class Opt> void apply(Opt &O) const {
1249 // not correctly respond to the apply method). Because the syntax to use this
1250 // is a pain, we have the 'apply' method below to handle the nastiness...
1253 template <class Opt> static void opt(const Mod &M, Opt &O) { M.apply(O); }
1294 "cl::Grouping can only apply to single charater Options.");
1299 // apply method - Apply modifiers to an option in a type safe way.
1301 void apply(Opt *O, const Mod &M, const Mods &... Ms) {
1303 apply(O, Ms...);
1306 template <class Opt, class Mod> void apply(Opt *O, const Mod &M) {
1494 apply(this, Ms...);
1688 apply(this, Ms...);
1707 void apply(list<D, S, P> &L) const {
1838 apply(this, Ms...);
1908 apply(this, Ms...);
1919 void apply(alias &A) const { A.setAliasFor(Opt); }