Eric Waters > Thrift-Parser-0.06 > Thrift::Parser::Type::set

Download:
Thrift-Parser-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Thrift::Parser::Type::set - set type

DESCRIPTION ^

This class inherits from Thrift::Parser::Type::Container. See the docs there for all the usage details.

USAGE ^

is_set

  if ($string_set->is_set($string)) { .. }

Pass a blessed object that matches the $val_type of this object, or at least a perl scalar that can be compose()'ed into the class. Returns boolean value if the value is present in this set. Throws Thrift::Parser::InvalidArgument.

COPYRIGHT ^

Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

AUTHOR ^

Eric Waters <ewaters@gmail.com>

syntax highlighting: