SquashedParseTreeNode.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboframenet/doc_stacks/2013-12-06_20-27-09.260049/roboframenet/stanford_parser_msgs/msg/SquashedParseTreeNode.msg */
00002 #ifndef STANFORD_PARSER_MSGS_MESSAGE_SQUASHEDPARSETREENODE_H
00003 #define STANFORD_PARSER_MSGS_MESSAGE_SQUASHEDPARSETREENODE_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 
00018 namespace stanford_parser_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct SquashedParseTreeNode_ {
00022   typedef SquashedParseTreeNode_<ContainerAllocator> Type;
00023 
00024   SquashedParseTreeNode_()
00025   : tag(0)
00026   , parent_id(0)
00027   , score(0.0)
00028   , word_index(0)
00029   {
00030   }
00031 
00032   SquashedParseTreeNode_(const ContainerAllocator& _alloc)
00033   : tag(0)
00034   , parent_id(0)
00035   , score(0.0)
00036   , word_index(0)
00037   {
00038   }
00039 
00040   typedef int32_t _tag_type;
00041   int32_t tag;
00042 
00043   typedef int32_t _parent_id_type;
00044   int32_t parent_id;
00045 
00046   typedef double _score_type;
00047   double score;
00048 
00049   typedef int32_t _word_index_type;
00050   int32_t word_index;
00051 
00052   enum { ROOT = -100 };
00053   enum { ADJP = -101 };
00054   enum { _ADV = -102 };
00055   enum { ADVP = -103 };
00056   enum { _BNF = -104 };
00057   enum { CC = -105 };
00058   enum { CD = -106 };
00059   enum { _CLF = -107 };
00060   enum { _CLR = -108 };
00061   enum { CONJP = -109 };
00062   enum { _DIR = -110 };
00063   enum { DT = -111 };
00064   enum { _DTV = -112 };
00065   enum { EX = -113 };
00066   enum { _EXT = -114 };
00067   enum { FRAG = -115 };
00068   enum { FW = -116 };
00069   enum { _HLN = -117 };
00070   enum { IN = -118 };
00071   enum { INTJ = -119 };
00072   enum { JJ = -120 };
00073   enum { JJR = -121 };
00074   enum { JJS = -122 };
00075   enum { _LGS = -123 };
00076   enum { _LOC = -124 };
00077   enum { LS = -125 };
00078   enum { LST = -126 };
00079   enum { MD = -127 };
00080   enum { _MNR = -128 };
00081   enum { NAC = -129 };
00082   enum { NN = -130 };
00083   enum { NNS = -131 };
00084   enum { NNP = -132 };
00085   enum { NNPS = -133 };
00086   enum { _NOM = -134 };
00087   enum { NP = -135 };
00088   enum { NX = -136 };
00089   enum { PDT = -137 };
00090   enum { POS = -138 };
00091   enum { PP = -139 };
00092   enum { _PRD = -140 };
00093   enum { PRN = -141 };
00094   enum { PRP = -142 };
00095   enum { _PRP = -143 };
00096   enum { PRP_S = -144 };
00097   enum { PRT = -145 };
00098   enum { _PUT = -146 };
00099   enum { QP = -147 };
00100   enum { RB = -148 };
00101   enum { RBR = -149 };
00102   enum { RBS = -150 };
00103   enum { RP = -151 };
00104   enum { RRC = -152 };
00105   enum { S = -153 };
00106   enum { SBAR = -154 };
00107   enum { SBARQ = -155 };
00108   enum { _SBJ = -156 };
00109   enum { SINV = -157 };
00110   enum { SQ = -158 };
00111   enum { SYM = -159 };
00112   enum { _TMP = -160 };
00113   enum { TO = -161 };
00114   enum { _TPC = -162 };
00115   enum { _TTL = -163 };
00116   enum { UCP = -164 };
00117   enum { UH = -165 };
00118   enum { VB = -166 };
00119   enum { VBD = -167 };
00120   enum { VBG = -168 };
00121   enum { VBN = -169 };
00122   enum { VBP = -170 };
00123   enum { VBZ = -171 };
00124   enum { _VOC = -172 };
00125   enum { VP = -173 };
00126   enum { WDT = -174 };
00127   enum { WHADJP = -175 };
00128   enum { WHADVP = -176 };
00129   enum { WHNP = -177 };
00130   enum { WHPP = -178 };
00131   enum { WP = -179 };
00132   enum { WP_S = -180 };
00133   enum { WRB = -181 };
00134   enum { X = -182 };
00135 
00136   typedef boost::shared_ptr< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > Ptr;
00137   typedef boost::shared_ptr< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator>  const> ConstPtr;
00138   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00139 }; // struct SquashedParseTreeNode
00140 typedef  ::stanford_parser_msgs::SquashedParseTreeNode_<std::allocator<void> > SquashedParseTreeNode;
00141 
00142 typedef boost::shared_ptr< ::stanford_parser_msgs::SquashedParseTreeNode> SquashedParseTreeNodePtr;
00143 typedef boost::shared_ptr< ::stanford_parser_msgs::SquashedParseTreeNode const> SquashedParseTreeNodeConstPtr;
00144 
00145 
00146 template<typename ContainerAllocator>
00147 std::ostream& operator<<(std::ostream& s, const  ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> & v)
00148 {
00149   ros::message_operations::Printer< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> >::stream(s, "", v);
00150   return s;}
00151 
00152 } // namespace stanford_parser_msgs
00153 
00154 namespace ros
00155 {
00156 namespace message_traits
00157 {
00158 template<class ContainerAllocator> struct IsMessage< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > : public TrueType {};
00159 template<class ContainerAllocator> struct IsMessage< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator>  const> : public TrueType {};
00160 template<class ContainerAllocator>
00161 struct MD5Sum< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > {
00162   static const char* value() 
00163   {
00164     return "8e3f507a30ff03f4eed132c8e51d902b";
00165   }
00166 
00167   static const char* value(const  ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> &) { return value(); } 
00168   static const uint64_t static_value1 = 0x8e3f507a30ff03f4ULL;
00169   static const uint64_t static_value2 = 0xeed132c8e51d902bULL;
00170 };
00171 
00172 template<class ContainerAllocator>
00173 struct DataType< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > {
00174   static const char* value() 
00175   {
00176     return "stanford_parser_msgs/SquashedParseTreeNode";
00177   }
00178 
00179   static const char* value(const  ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> &) { return value(); } 
00180 };
00181 
00182 template<class ContainerAllocator>
00183 struct Definition< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > {
00184   static const char* value() 
00185   {
00186     return "# tag is a part-of-speech tag from the list of constants below.\n\
00187 int32 tag\n\
00188 # parent_id is the location of the node pointing to this one in the tree, or -1 if root.\n\
00189 int32 parent_id\n\
00190 # score is a measure of confidence\n\
00191 float64 score\n\
00192 # word is the location of the word in the words array, or -1 if none.\n\
00193 int32 word_index\n\
00194 \n\
00195 # Constants below, using descriptions from http://bulba.sdsu.edu/jeanette/thesis/PennTags.html\n\
00196 # To make code-safe, we use the following substitutions:\n\
00197 #   '-' -> '_'\n\
00198 #   '$' -> '_S'\n\
00199 int32 ROOT=-100\n\
00200 int32 ADJP=-101\n\
00201 int32 _ADV=-102\n\
00202 int32 ADVP=-103\n\
00203 int32 _BNF=-104\n\
00204 int32 CC=-105\n\
00205 int32 CD=-106\n\
00206 int32 _CLF=-107\n\
00207 int32 _CLR=-108\n\
00208 int32 CONJP=-109\n\
00209 int32 _DIR=-110\n\
00210 int32 DT=-111\n\
00211 int32 _DTV=-112\n\
00212 int32 EX=-113\n\
00213 int32 _EXT=-114\n\
00214 int32 FRAG=-115\n\
00215 int32 FW=-116\n\
00216 int32 _HLN=-117\n\
00217 int32 IN=-118\n\
00218 int32 INTJ=-119\n\
00219 int32 JJ=-120\n\
00220 int32 JJR=-121\n\
00221 int32 JJS=-122\n\
00222 int32 _LGS=-123\n\
00223 int32 _LOC=-124\n\
00224 int32 LS=-125\n\
00225 int32 LST=-126\n\
00226 int32 MD=-127\n\
00227 int32 _MNR=-128\n\
00228 int32 NAC=-129\n\
00229 int32 NN=-130\n\
00230 int32 NNS=-131\n\
00231 int32 NNP=-132\n\
00232 int32 NNPS=-133\n\
00233 int32 _NOM=-134\n\
00234 int32 NP=-135\n\
00235 int32 NX=-136\n\
00236 int32 PDT=-137\n\
00237 int32 POS=-138\n\
00238 int32 PP=-139\n\
00239 int32 _PRD=-140\n\
00240 int32 PRN=-141\n\
00241 int32 PRP=-142\n\
00242 int32 _PRP=-143\n\
00243 int32 PRP_S=-144\n\
00244 int32 PRT=-145\n\
00245 int32 _PUT=-146\n\
00246 int32 QP=-147\n\
00247 int32 RB=-148\n\
00248 int32 RBR=-149\n\
00249 int32 RBS=-150\n\
00250 int32 RP=-151\n\
00251 int32 RRC=-152\n\
00252 int32 S=-153\n\
00253 int32 SBAR=-154\n\
00254 int32 SBARQ=-155\n\
00255 int32 _SBJ=-156\n\
00256 int32 SINV=-157\n\
00257 int32 SQ=-158\n\
00258 int32 SYM=-159\n\
00259 int32 _TMP=-160\n\
00260 int32 TO=-161\n\
00261 int32 _TPC=-162\n\
00262 int32 _TTL=-163\n\
00263 int32 UCP=-164\n\
00264 int32 UH=-165\n\
00265 int32 VB=-166\n\
00266 int32 VBD=-167\n\
00267 int32 VBG=-168\n\
00268 int32 VBN=-169\n\
00269 int32 VBP=-170\n\
00270 int32 VBZ=-171\n\
00271 int32 _VOC=-172\n\
00272 int32 VP=-173\n\
00273 int32 WDT=-174\n\
00274 int32 WHADJP=-175\n\
00275 int32 WHADVP=-176\n\
00276 int32 WHNP=-177\n\
00277 int32 WHPP=-178\n\
00278 int32 WP=-179\n\
00279 int32 WP_S=-180\n\
00280 int32 WRB=-181\n\
00281 int32 X=-182\n\
00282 # These stay out for testing purposes.  We want to make sure tags[] is working properly.\n\
00283 # # int32 SENTENCE_CLOSER=183  # .;?\n\
00284 # # int32 COMMA=184\n\
00285 # # int32 COLON=185\n\
00286 # # int32 LPAREN=186\n\
00287 # # int32 RPAREN=187\n\
00288 \n\
00289 # .\n\
00290 # ,\n\
00291 # :\n\
00292 # (\n\
00293 # )\n\
00294 \n\
00295 \n\
00296 # #  Pound sign\n\
00297 # $  Dollar sign\n\
00298 # .  Sentence-final punctuation\n\
00299 # ,  Comma\n\
00300 # :  Colon, semi-colon\n\
00301 # (  Left bracket character\n\
00302 # )  Right bracket character\n\
00303 # \"  Straight double quote\n\
00304 # `  Left open single quote\n\
00305 # \"  Left open double quote\n\
00306 # '  Right close single quote\n\
00307 # \"  Right close double quote\n\
00308 # ``\n\
00309 # ''\n\
00310 \n\
00311 \n\
00312 ";
00313   }
00314 
00315   static const char* value(const  ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> &) { return value(); } 
00316 };
00317 
00318 template<class ContainerAllocator> struct IsFixedSize< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> > : public TrueType {};
00319 } // namespace message_traits
00320 } // namespace ros
00321 
00322 namespace ros
00323 {
00324 namespace serialization
00325 {
00326 
00327 template<class ContainerAllocator> struct Serializer< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> >
00328 {
00329   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00330   {
00331     stream.next(m.tag);
00332     stream.next(m.parent_id);
00333     stream.next(m.score);
00334     stream.next(m.word_index);
00335   }
00336 
00337   ROS_DECLARE_ALLINONE_SERIALIZER;
00338 }; // struct SquashedParseTreeNode_
00339 } // namespace serialization
00340 } // namespace ros
00341 
00342 namespace ros
00343 {
00344 namespace message_operations
00345 {
00346 
00347 template<class ContainerAllocator>
00348 struct Printer< ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> >
00349 {
00350   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::stanford_parser_msgs::SquashedParseTreeNode_<ContainerAllocator> & v) 
00351   {
00352     s << indent << "tag: ";
00353     Printer<int32_t>::stream(s, indent + "  ", v.tag);
00354     s << indent << "parent_id: ";
00355     Printer<int32_t>::stream(s, indent + "  ", v.parent_id);
00356     s << indent << "score: ";
00357     Printer<double>::stream(s, indent + "  ", v.score);
00358     s << indent << "word_index: ";
00359     Printer<int32_t>::stream(s, indent + "  ", v.word_index);
00360   }
00361 };
00362 
00363 
00364 } // namespace message_operations
00365 } // namespace ros
00366 
00367 #endif // STANFORD_PARSER_MSGS_MESSAGE_SQUASHEDPARSETREENODE_H
00368 


stanford_parser_msgs
Author(s): Brian Thomas
autogenerated on Fri Dec 6 2013 20:37:07