warehouse::msg::_Condition::Condition Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 args
 field_name
 predicate

Static Public Attributes

int EQUALS = 2
int GREATER_THAN = 1
int LESS_THAN = 0

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['field_name','predicate','args']
string _full_text
 _has_header = False
string _md5sum = "44691f2aeb7a218e22c96feb085564c8"
list _slot_types = ['string','uint8','string[]']
string _type = "warehouse/Condition"

Detailed Description

Definition at line 6 of file _Condition.py.


Member Function Documentation

def warehouse::msg::_Condition::Condition::__init__ (   self,
  args,
  kwds 
)
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   field_name,predicate,args

@param args: complete set of field values, in .msg order
@param kwds: use keyword arguments corresponding to message field names
to set specific fields. 

Definition at line 41 of file _Condition.py.

def warehouse::msg::_Condition::Condition::_get_types (   self  )  [private]
internal API method

Definition at line 69 of file _Condition.py.

def warehouse::msg::_Condition::Condition::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 94 of file _Condition.py.

def warehouse::msg::_Condition::Condition::deserialize_numpy (   self,
  str,
  numpy 
)
unpack serialized message in str into this message instance using numpy for array types
@param str: byte array of serialized message
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 149 of file _Condition.py.

def warehouse::msg::_Condition::Condition::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 75 of file _Condition.py.

def warehouse::msg::_Condition::Condition::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 128 of file _Condition.py.


Member Data Documentation

Definition at line 38 of file _Condition.py.

Initial value:
"""# Represents an individual condition on a field in a query

# Field name, which can be nested.  E.g., "pose.position.x"
string field_name

# Predicate, which must be of one the types below
uint8 predicate

# Predicate arguments, which are parsed from strings, in a predicate-dependent manner
string[] args


## Predicate types

# numerical field must be less than args[0]
uint8 LESS_THAN=0

# numerical field must be greater than args[0]
uint8 GREATER_THAN=1

# field must equal args[0]
uint8 EQUALS=2
"""

Definition at line 10 of file _Condition.py.

Definition at line 9 of file _Condition.py.

string warehouse::msg::_Condition::Condition::_md5sum = "44691f2aeb7a218e22c96feb085564c8" [static, private]

Definition at line 7 of file _Condition.py.

list warehouse::msg::_Condition::Condition::_slot_types = ['string','uint8','string[]'] [static, private]

Definition at line 39 of file _Condition.py.

string warehouse::msg::_Condition::Condition::_type = "warehouse/Condition" [static, private]

Definition at line 8 of file _Condition.py.

Definition at line 63 of file _Condition.py.

Definition at line 36 of file _Condition.py.

Definition at line 59 of file _Condition.py.

Definition at line 35 of file _Condition.py.

Definition at line 34 of file _Condition.py.

Definition at line 61 of file _Condition.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines


warehouse
Author(s): Nate Koenig, Bhaskara Marthi
autogenerated on Fri Jan 11 10:09:03 2013