home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / RAPSHEET / VBRPSHTN.VBE < prev    next >
Text File  |  1995-05-19  |  20KB  |  262 lines

  1. //VBBeginPartInfo: IPerson
  2. //VBParents: IStandardNotifier
  3. //VBIncludes: "iperson.hpp" _IPERSON_,"iadd.hpp" _IADD_,"istdntfy.hpp" _ISTDNTFY_,"ialias.hpp" _IALIAS_,"istring.hpp" _ISTRING_,"ivseq.h" _IVSEQ_
  4. //VBPartDataFile: 'VBRpShtN.vbb'
  5. //VBLibFile: 'cppov23i.lib'
  6. //VBConstructor: IPerson()
  7. //VBComposerInfo: nonvisual,2004,cppov23r
  8. //VBEvent: ready, "ready", readyId
  9. //VBAttribute: address,"suspect's current address",IAddress *,IAddress * address() const,IPerson & setAddress(IAddress * aAddress),addressId
  10. //VBAttribute: aliasList,"list of aliases by which the suspect is known",IVSequence<IAlias *> *,IVSequence<IAlias *> * aliasList() const,IPerson & setAliasList(IVSequence<IAlias *> * aAliasList),aliasListId
  11. //VBAttribute: birthDate,"the date the suspect was born",IString,IString birthDate() const,IPerson & setBirthDate(const IString & aBirthDate),birthDateId
  12. //VBAttribute: eyeColor,"the color of the suspect's eyes",unsigned short,unsigned short eyeColor() const,IPerson & setEyeColor(unsigned short aEyeColor),eyeColorId
  13. //VBAttribute: eyeColorAsString,"the eye color as a IString",IString,IString eyeColorAsString() const,IPerson & setEyeColorAsString(const IString & aEyeColor),eyeColorId
  14. //VBAttribute: firstName,"the suspect's first name",IString,IString firstName() const,IPerson & setFirstName(const IString & aFirstName),firstNameId
  15. //VBAttribute: gender,"the suspect's gender/sex",unsigned short,unsigned short gender() const,IPerson & setGender(unsigned short aGender),genderId
  16. //VBAttribute: isMale,"indicates if the suspect is a male",Boolean,Boolean isMale() const,IPerson & enableIsMale(Boolean aGender = true),genderId
  17. //VBAttribute: hairColor,"the color of the suspect's hair",unsigned short,unsigned short hairColor() const,IPerson & setHairColor(unsigned short aHairColor),hairColorId
  18. //VBAttribute: hairColorAsString,"the hair color as a IString",IString,IString hairColorAsString() const,IPerson & setHairColorAsString(const IString & aHairColor),hairColorId
  19. //VBAttribute: height,"the suspect's height (in inches)",unsigned short,unsigned short height() const,IPerson & setHeight(unsigned short aHeight),heightId
  20. //VBAttribute: heightAsString,"the suspect's height as a IString",IString,IString heightAsString() const,IPerson & setHeightAsString(const IString & aHeight),heightId
  21. //VBAttribute: info,"any information concerning the suspect",IString,IString info() const,IPerson & setInfo(const IString & aInfo),infoId
  22. //VBAttribute: lastName,"the suspect's last name",IString,IString lastName() const,IPerson & setLastName(const IString & aLastName),lastNameId
  23. //VBAttribute: weight,"the suspect's weight (in pounds)",unsigned short,unsigned short weight() const,IPerson & setWeight(unsigned short aWeight),weightId
  24. //VBAttribute: weightAsString,"the suspect's weight as a IString",IString,IString weightAsString() const,IPerson & setWeightAsString(const IString & aWeight),weightId
  25. //VBPreferredFeatures: this, lastName, firstName, birthDate, address, aliasList
  26. //VBEndPartInfo: IPerson
  27.  
  28. //VBBeginPartInfo: ISuspect
  29. //VBParents: IPerson
  30. //VBIncludes: "isuspect.hpp" _ISUSPECT_,"iperson.hpp" _IPERSON_,"iarrest.hpp" _IARREST_,"ilstseen.hpp" _ILASTSEEN_,"istring.hpp" _ISTRING_,"ivseq.h" _IVSEQ_
  31. //VBPartDataFile: 'VBRpShtN.vbb'
  32. //VBLibFile: 'cppov23i.lib'
  33. //VBConstructor: ISuspect()
  34. //VBComposerInfo: nonvisual,2000,cppov23r
  35. //VBEvent: ready, "ready", readyId
  36. //VBAttribute: arrestList,"a list of crimes the suspect has been charged with",IVSequence<IArrest *> *,IVSequence<IArrest *> * arrestList() const,ISuspect & setArrestList(IVSequence<IArrest *> * aArrestList),arrestListId
  37. //VBAttribute: bookNumber,"the number by which the suspect was originally booked",unsigned long,unsigned long bookNumber() const,ISuspect & setBookNumber(unsigned long aBookNumber),bookNumberId
  38. //VBAttribute: bookNumberAsString,"the book number as an IString",IString,IString bookNumberAsString() const,ISuspect & setBookNumberAsString(const IString & aBookNumber),bookNumberId
  39. //VBAttribute: hasMole,"indicates if the suspect has one or more moles",Boolean,Boolean hasMole() const,ISuspect & enableHasMole(Boolean enable = true),hasMoleId
  40. //VBAttribute: hasScar,"indicates if the suspect has one or more scars",Boolean,Boolean hasScar() const,ISuspect & enableHasScar(Boolean enable = true),hasScarId
  41. //VBAttribute: hasTattoo,"indicates if the suspect has one or more tattoos",Boolean,Boolean hasTattoo() const,ISuspect & enableHasTattoo(Boolean enable = true),hasTattooId
  42. //VBAttribute: lastSeenList,"a list of places the suspect has been seen",IVSequence<ILastSeen *> *,IVSequence<ILastSeen *> * lastSeenList() const,ISuspect & setLastSeenList(IVSequence<ILastSeen *> * aLastSeenList),lastSeenListId
  43. //VBAttribute: MO,"the suspect's mode of operandi (means by which commits crime)",IString,IString MO() const,ISuspect & setMO(const IString & aMO),MOId
  44. //VBAttribute: moleDesc,"description of suspect's moles including their location",IString,IString moleDesc() const,ISuspect & setMoleDesc(const IString & aMoleDesc),moleDescId
  45. //VBAttribute: mugFront,"the resource ID of the bitmap that represents the suspect's front mug shot",unsigned short,unsigned short mugFront() const,ISuspect & setMugFront(unsigned short aMugFront),mugFrontId
  46. //VBAttribute: mugFrontAsHandle,"the bit map handle of the front mug shot",IBitmapHandle,IBitmapHandle mugFrontAsHandle() const,,mugFrontId
  47. //VBAttribute: mugLeft,"the resource ID of the bitmap that represents the suspect's left mug shot",unsigned short,unsigned short mugLeft() const,ISuspect & setMugLeft(unsigned short aMugLeft),mugLeftId
  48. //VBAttribute: mugLeftAsHandle,"the bit map handle of the left mug shot",IBitmapHandle,IBitmapHandle mugLeftAsHandle() const,,mugLeftId
  49. //VBAttribute: mugRight,"the resource ID of the bitmap that represents the suspect's right mug shot",unsigned short,unsigned short mugRight() const,ISuspect & setMugRight(unsigned short aMugRight),mugRightId
  50. //VBAttribute: mugRightAsHandle,"the bit map handle of the right mug shot",IBitmapHandle,IBitmapHandle mugRightAsHandle() const,,mugRightId
  51. //VBAttribute: scarDesc,"description of suspect's scars including their location",IString,IString scarDesc() const,ISuspect & setScarDesc(const IString & aScarDesc),scarDescId
  52. //VBAttribute: tattooDesc,"description of suspect's tattoos including their location",IString,IString tattooDesc() const,ISuspect & setTattooDesc(const IString & aTattooDesc),tattooDescId
  53. //VBPreferredFeatures: this, bookNumber, lastName, firstName, arrestList, aliasList
  54. //VBEndPartInfo: ISuspect
  55.  
  56. //VBBeginEnumInfo: IPerson::IEyeColor, "The various types of eye color"
  57. //VBIncludes: "iperson.hpp" _IPERSON_
  58. //VBPartDataFile: 'VBRpShtN.vbb'
  59. //VBEnumerators: unknown_eye_color=-1,
  60. //VB:            blue_eyes=0,
  61. //VB:            brown_eyes=1,
  62. //VB:            green_eyes=2,
  63. //VB:            hazel_eyes=3
  64. //VBEndEnumInfo: IPerson::IEyeColor
  65.  
  66. //VBBeginEnumInfo: IPerson::IGender
  67. //VBIncludes: "iperson.hpp" _IPERSON_
  68. //VBPartDataFile: 'VBRpShtN.vbb'
  69. //VBEnumerators: female=0,
  70. //VB:            male=1
  71. //VBEndEnumInfo: IPerson::IGender
  72.  
  73. //VBBeginEnumInfo: IPerson::IHairColor, "The various types of hair color"
  74. //VBIncludes: "iperson.hpp" _IPERSON_
  75. //VBPartDataFile: 'VBRpShtN.vbb'
  76. //VBEnumerators: unknown_hair_color=-1,
  77. //VB:            no_hair=0,
  78. //VB:            black_hair=1,
  79. //VB:            blonde_hair=2,
  80. //VB:            brown_hair=3,
  81. //VB:            grey_hair=4,
  82. //VB:            red_hair=5
  83. //VBEndEnumInfo: IPerson::IHairColor
  84.  
  85. //VBBeginEnumInfo: ISuspect::IMugAngle
  86. //VBIncludes: "isuspect.hpp" _ISUSPECT_
  87. //VBPartDataFile: 'VBRpShtN.vbb'
  88. //VBEnumerators: left=0,
  89. //VB:            front=1,
  90. //VB:            right=2
  91. //VBEndEnumInfo: ISuspect::IMugAngle
  92.  
  93. //VBBeginPartInfo: ISuspectClientMgr
  94. //VBParents: IStandardNotifier
  95. //VBIncludes: "isusrmgr.hpp" _ISUSRMGR_
  96. //VBPartDataFile: 'VBRpShtN.vbb'
  97. //VBLibFile: 'cppov23i.lib'
  98. //VBComposerInfo: nonvisual
  99. //VBEvent: manyObjectsFound, "many objects met query input", manyObjectsFoundId
  100. //VBEvent: noObjectsFound, "no objects met query input", noObjectsFoundId
  101. //VBEvent: oneObjectFound, "only one object met query input", oneObjectFoundId
  102. //VBEvent: parsedResult, "completed parsing result returned from a request", parsedResultId
  103. //VBEvent: sameRequest, "same request received from peer/client machine", sameRequestId
  104. //VBAttribute: requestBuffer, "request information", 'IString', IString requestBuffer(), ISuspectClientMgr & setRequestBuffer(const IString & iRequestBuffer), requestBufferId
  105. //VBAttribute: resultBuffer, "result information", 'IString', IString resultBuffer(), ISuspectClientMgr & setResultBuffer(const IString & iResultBuffer), resultBufferId
  106. //VBAttribute: resultList, "list of objects meeting query input", 'IVSequence <ISuspect *>', IVSequence <ISuspect *> resultList(),,resultListId
  107. //VBAttribute: resultListWrapper, "pointer to a list of objects meeting query input", 'IVSequence <ISuspect *> *', IVSequence <ISuspect *> * resultListWrapper(),,resultListWrapperId
  108. //VBAttribute: resultObject, "first object meeting query input", 'ISuspect', ISuspect resultObject(),,resultObjectId
  109. //VBAttribute: resultWrapper, "pointer to first object meeting query input", 'ISuspect *', ISuspect * resultWrapper(),,resultWrapperId
  110. //VBAction: processResult, "parse the result returned from a request",, ISuspectClientMgr & processResult()
  111. //VBAction: getAllFromDB, "retrieve all suspects from the database", IString, IString getAll()
  112. //VBPreferredFeatures: this, getAllFromDB, parsedResult, processResult, requestBuffer, resultBuffer
  113. //VBEndPartInfo: ISuspectClientMgr
  114.  
  115. //VBBeginPartInfo: IAliasClientMgr
  116. //VBParents: IStandardNotifier
  117. //VBIncludes: "ialsrmgr.hpp" _IALSRMGR_
  118. //VBPartDataFile: 'VBRpShtN.vbb'
  119. //VBLibFile: 'cppov23i.lib'
  120. //VBComposerInfo: nonvisual
  121. //VBEvent: sameRequest, "same request received from peer/client machine", sameRequestId
  122. //VBEvent: manyObjectsFound, "many objects met query input", manyObjectsFoundId
  123. //VBEvent: noObjectsFound, "no objects met query input", noObjectsFoundId
  124. //VBEvent: oneObjectFound, "only one object met query input", oneObjectFoundId
  125. //VBEvent: parsedResult, "completed parsing result returned from a request", parsedResultId
  126. //VBAttribute: requestBuffer, "request information", 'IString', IString requestBuffer(), IAliasClientMgr & setRequestBuffer(const IString & iRequestBuffer), requestBufferId
  127. //VBAttribute: resultBuffer, "result information", 'IString', IString resultBuffer(), IAliasClientMgr & setResultBuffer(const IString & iResultBuffer), resultBufferId
  128. //VBAttribute: resultList, "list of objects meeting query input", 'IVSequence <IAlias *>', IVSequence <IAlias *> resultList(),,resultListId
  129. //VBAttribute: resultListWrapper, "pointer to a list of objects meeting query input", 'IVSequence <IAlias *> *', IVSequence <IAlias *> * resultListWrapper(),,resultListWrapperId
  130. //VBAttribute: resultObject, "first object meeting query input", 'IAlias', IAlias resultObject(),,resultObjectId
  131. //VBAttribute: resultWrapper, "pointer to first object meeting query input", 'IAlias *', IAlias * resultWrapper(),,resultWrapperId
  132. //VBAction: getAllByBookNumber, "get all aliases by which a suspect is known", IString, IString allByBookNumber(unsigned long bookNumber)
  133. //VBAction: processResult, "parse the result returned from a request", IAliasClientMgr &, IAliasClientMgr & processResult()
  134. //VBPreferredFeatures: getAllByBookNumber, parsedResult, processResult, requestBuffer, resultBuffer
  135. //VBEndPartInfo: IAliasClientMgr
  136.  
  137. //VBBeginPartInfo: IArrestClientMgr
  138. //VBParents: IStandardNotifier
  139. //VBIncludes: "iarsrmgr.hpp" _IARSRMGR_
  140. //VBPartDataFile: 'VBRpShtN.vbb'
  141. //VBLibFile: 'cppov23i.lib'
  142. //VBComposerInfo: nonvisual
  143. //VBEvent: sameRequest, "same request received from peer/client machine", sameRequestId
  144. //VBEvent: manyObjectsFound, "many objects met query input", manyObjectsFoundId
  145. //VBEvent: noObjectsFound, "no objects met query input", noObjectsFoundId
  146. //VBEvent: oneObjectFound, "only one object met query input", oneObjectFoundId
  147. //VBEvent: parsedResult, "completed parsing result returned from a request", parsedResultId
  148. //VBAttribute: requestBuffer, "request information", 'IString', IString requestBuffer(), IArrestClientMgr & setRequestBuffer(const IString & iRequestBuffer), requestBufferId
  149. //VBAttribute: resultBuffer, "result information", 'IString', IString resultBuffer(), IArrestClientMgr & setResultBuffer(const IString & iResultBuffer), resultBufferId
  150. //VBAttribute: resultList, "list of objects meeting query input", 'IVSequence <IArrest *>', IVSequence <IArrest *> resultList(),,resultListId
  151. //VBAttribute: resultListWrapper, "pointer to a list of objects meeting query input", 'IVSequence <IArrest *> *', IVSequence <IArrest *> * resultListWrapper(),,resultListWrapperId
  152. //VBAttribute: resultObject, "first object meeting query input", 'IArrest', IArrest resultObject(),,resultObjectId
  153. //VBAttribute: resultWrapper, "pointer to first object meeting query input", 'IArrest *', IArrest * resultWrapper(),,resultWrapperId
  154. //VBAction: getAllByBookNumber, "get all arrest records for a suspect", IString, IString allByBookNumber(unsigned long bookNumber)
  155. //VBAction: processResult, "parse the result returned from a request", IArrestClientMgr &, IArrestClientMgr & processResult()
  156. //VBPreferredFeatures: getAllByBookNumber, parsedResult, processResult, requestBuffer, resultBuffer
  157. //VBEndPartInfo: IArrestClientMgr
  158.  
  159. //VBBeginPartInfo: ILastSeenClientMgr
  160. //VBParents: IStandardNotifier
  161. //VBIncludes: "ilsrmgr.hpp" _ILSRMGR_
  162. //VBPartDataFile: 'VBRpShtN.vbb'
  163. //VBLibFile: 'cppov23i.lib'
  164. //VBComposerInfo: nonvisual
  165. //VBEvent: sameRequest, "same request received from peer/client machine", sameRequestId
  166. //VBEvent: manyObjectsFound, "many objects met query input", manyObjectsFoundId
  167. //VBEvent: noObjectsFound, "no objects met query input", noObjectsFoundId
  168. //VBEvent: oneObjectFound, "only one object met query input", oneObjectFoundId
  169. //VBEvent: parsedResult, "completed parsing result returned from a request", parsedResultId
  170. //VBAttribute: requestBuffer, "request information", 'IString', IString requestBuffer(), ILastSeenClientMgr & setRequestBuffer(const IString & iRequestBuffer), requestBufferId
  171. //VBAttribute: resultBuffer, "result information", 'IString', IString resultBuffer(), ILastSeenClientMgr & setResultBuffer(const IString & iResultBuffer), resultBufferId
  172. //VBAttribute: resultList, "list of objects meeting query input", 'IVSequence <ILastSeen *>', IVSequence <ILastSeen *> resultList(),,resultListId
  173. //VBAttribute: resultListWrapper, "pointer to a list of objects meeting query input", 'IVSequence <ILastSeen *> *', IVSequence <ILastSeen *> * resultListWrapper(),,resultListWrapperId
  174. //VBAttribute: resultObject, "first object meeting query input", 'ILastSeen', ILastSeen resultObject(),,resultObjectId
  175. //VBAttribute: resultWrapper, "pointer to first object meeting query input", 'ILastSeen *', ILastSeen * resultWrapper(),,resultWrapperId
  176. //VBAction: getAllByBookNumber, "get all locations where a suspect has been seen", IString, IString allByBookNumber(unsigned long bookNumber)
  177. //VBAction: processResult, "parse the result returned from a request", ILastSeenClientMgr &, ILastSeenClientMgr & processResult()
  178. //VBPreferredFeatures: getAllByBookNumber, parsedResult, processResult, requestBuffer, resultBuffer
  179. //VBEndPartInfo: ILastSeenClientMgr
  180.  
  181. //VBBeginPartInfo: IAlias
  182. //VBParents: IStandardNotifier
  183. //VBIncludes: "ialias.hpp" _IALIAS_,"istdntfy.hpp" _ISTDNTFY_,"ialias.hpp" _IALIAS_,"istring.hpp" _ISTRING_,"iavlseq.h" _IAVLSEQ_
  184. //VBPartDataFile: 'VBRpShtN.vbb'
  185. //VBLibFile: 'cppov23i.lib'
  186. //VBConstructor: IAlias()
  187. //VBComposerInfo: nonvisual
  188. //VBAttribute: alias,"the alias",IString,IString alias() const,IAlias & setAlias(const IString & anAlias),aliasId
  189. //VBEvent: ready, "ready", readyId
  190. //VBPreferredFeatures: this, alias
  191. //VBEndPartInfo: IAlias
  192.  
  193. //VBBeginPartInfo: IArrest
  194. //VBParents: IStandardNotifier
  195. //VBIncludes: "iarrest.hpp" _IARREST_,"istdntfy.hpp" _ISTDNTFY_,"iarrest.hpp" _IARREST_,"istring.hpp" _ISTRING_,"iavlseq.h" _IAVLSEQ_
  196. //VBPartDataFile: 'VBRpShtN.vbb'
  197. //VBLibFile: 'cppov23i.lib'
  198. //VBConstructor: IArrest()
  199. //VBComposerInfo: nonvisual
  200. //VBEvent: ready, "ready", readyId
  201. //VBAttribute: charge,"the charge ",unsigned short,unsigned short charge() const,IArrest & setCharge(unsigned short aCharge),chargeId
  202. //VBAttribute: chargeAsString,"the string rendition of charge",IString,IString chargeAsString() const,IArrest & setChargeFromString(const unsigned short aCharge),chargeId
  203. //VBAttribute: status,"the status ",unsigned short,unsigned short status() const,IArrest & setStatus(unsigned short aStatus),statusId
  204. //VBAttribute: statusAsString,"the string rendition of status",IString,IString statusAsString() const,IArrest & setStatusFromString(const unsigned short aStatus),statusId
  205. //VBAttribute: statusDate,"the date of the arrest",IString,IString statusDate() const,IArrest & setStatusDate(const IString & adate),statusDateId
  206. //VBPreferredFeatures: this, charge, status, statusDate
  207. //VBEndPartInfo: IArrest
  208.  
  209. //VBBeginPartInfo: ILastSeen
  210. //VBParents: IStandardNotifier
  211. //VBIncludes: "ilstseen.hpp" _ILASTSEEN_,"istdntfy.hpp" _ISTDNTFY_,"ilstseen.hpp" _ILASTSEEN_,"istring.hpp" _ISTRING_,"iavlseq.h" _IAVLSEQ_
  212. //VBPartDataFile: 'VBRpShtN.vbb'
  213. //VBLibFile: 'cppov23i.lib'
  214. //VBConstructor: ILastSeen()
  215. //VBComposerInfo: nonvisual
  216. //VBEvent: ready, "ready", readyId
  217. //VBAttribute: location,"the location of the sighting",IString,IString location() const,ILastSeen & setLocation(const IString & aLocation),locationID
  218. //VBAttribute: witness,"the witness of the sighting",IString,IString witness() const,ILastSeen & setWitness(const IString & awitness),witnessID
  219. //VBAttribute: dateLastSeen,"the date of the sighting",IString,IString dateLastSeen() const,ILastSeen & setDateLastSeen(const IString & adate),dateID
  220. //VBAttribute: comment,"comments made by the witness",IString,IString comment() const,ILastSeen & setComment(const IString & aComment),commentID
  221. //VBPreferredFeatures: this, location, witness, dateLastSeen, comment
  222. //VBEndPartInfo: ILastSeen
  223.  
  224. //VBBeginEnumInfo: IArrest::ICharge, "Various types of charges"
  225. //VBIncludes: "iarrest.hpp" _IARREST_
  226. //VBPartDataFile: 'VBRpShtN.vbb'
  227. //VBEnumerators: arson=0,
  228. //VB:            accomplice_to_murder=1,
  229. //VB:            assault=2,
  230. //VB:            assault_w_deadly_weapon=3,
  231. //VB:            breaking_and_entering=4,
  232. //VB:            burglary=5,
  233. //VB:            DWI=6,
  234. //VB:            embezzlement=7,
  235. //VB:            fraud=8,
  236. //VB:            hijacking=9,
  237. //VB:            hit_and_run=10,
  238. //VB:            kidnapping=11,
  239. //VB:            manslaughter=12,
  240. //VB:            murder=13,
  241. //VB:            perjury=14,
  242. //VB:            trespassing=15,
  243. //VB:            vandalism=16,
  244. //VB:            wreckless_driving=17
  245. //VBEndEnumInfo: IArrest::ICharge
  246.  
  247. //VBBeginEnumInfo: IArrest::IStatus, "Various types of charge stati"
  248. //VBIncludes: "iarrest.hpp" _IARREST_
  249. //VBPartDataFile: 'VBRpShtN.vbb'
  250. //VBEnumerators: acquitted=0,
  251. //VB:            arrested=1,
  252. //VB:            arraigned=2,
  253. //VB:            convicted=3,
  254. //VB:            dropped=4,
  255. //VB:            escaped=5,
  256. //VB:            free_on_bond=6,
  257. //VB:            released=7,
  258. //VB:            released_on_parole=8,
  259. //VB:            under_suspicion=9,
  260. //VB:            wanted=10
  261. //VBEndEnumInfo: IArrest::IStatus
  262.