home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / VBSAMPLE / VBSAMPLE.VBE < prev    next >
Text File  |  1995-05-15  |  90KB  |  2,013 lines

  1. //
  2. //  FILE NAME: VBSample.vbe
  3. //
  4. //  DESCRIPTION:
  5. //    Declaration of the sample interfaces for the C++ Visual Builder.
  6. //    This file is used to create the VBSample.vbb file.
  7. //
  8. //  COPYRIGHT:
  9. //    IBM(R) VisualAge(TM) C++ for OS/2(R), Version 3
  10. //    (C) Copyright IBM Corporation 1991, 1995.
  11. //     - Licensed Material - Program-Property of IBM - All Rights Reserved.
  12. //    US Government Users Restricted Rights - Use, duplication, or disclosure
  13. //    restricted by GSA ADP Schedule Contract with IBM Corp.
  14. //
  15. //    This program will not run in DOS mode.
  16. //
  17. //  DISCLAIMER OF WARRANTIES:
  18. //    The following [enclosed] code is sample code created by IBM
  19. //    Corporation.  This sample code is not part of any standard IBM product
  20. //    and is provided to you solely for the purpose of assisting you in the
  21. //    development of your applications.  The code is provided "AS IS",
  22. //    without warranty of any kind.  IBM shall not be liable for any damages
  23. //    arising out of your use of the sample code, even if they have been
  24. //    advised of the possibility of such damages.
  25. //
  26. //
  27. //VBBeginPartInfo: IRecord, "IBM record"
  28. //VBParent: IVBase
  29. //VBIncludes: <irecord.hpp> _IRECORD_
  30. //VBPartDataFile: 'VBSample.vbb'
  31. //VBComposerInfo: class, 204, dde4vr30
  32. //
  33. //VBAttribute: ordered,
  34. //VB:          "Returns false.",
  35. //VB:          IBoolean,
  36. //VB:          virtual IBoolean isOrdered() const
  37. //VBAttribute: size,,
  38. //VB:          unsigned long,
  39. //VB:          unsigned long size() const
  40. //VBAction: operator =
  41. //VB:       ,"Replaces the contents of the record.",,
  42. //VB:       IRecord& operator =(const IString& aRecord)
  43. //VBPreferredFeatures: this, ordered, size
  44. //VBEndPartInfo: IRecord
  45. //
  46. //
  47. //VBBeginPartInfo: IOrderedRecord, "IBM ordered record"
  48. //VBParent: IRecord
  49. //VBIncludes: <iordrrec.hpp> _IORDRREC_
  50. //VBPartDataFile: 'VBSample.vbb'
  51. //VBComposerInfo: class, 204, dde4vr30
  52. //
  53. //VBAction: operator !=
  54. //VB:       ,"True if and only if the records are not identical.", IBoolean,
  55. //VB:       virtual IBoolean operator !=(const IOrderedRecord& aRecord) const
  56. //VBAction: operator <
  57. //VB:       ,"True if and only if the first record is less than the second, when compared as IStrings.", IBoolean,
  58. //VB:       virtual IBoolean operator <(const IOrderedRecord& aRecord) const
  59. //VBAction: operator <=
  60. //VB:       ,"Equivalent to '(record1 < record2) || (record1 == record2)'.", IBoolean,
  61. //VB:       virtual IBoolean operator <=(const IOrderedRecord& aRecord) const
  62. //VBAction: operator ==
  63. //VB:       ,"True if and only if the records are identical.", IBoolean,
  64. //VB:       virtual IBoolean operator ==(const IOrderedRecord& aRecord) const
  65. //VBAction: operator >
  66. //VB:       ,"Equivalent to '!(record1 <= record2)'.", IBoolean,
  67. //VB:       virtual IBoolean operator >(const IOrderedRecord& aRecord) const
  68. //VBAction: operator >=
  69. //VB:       ,"Equivalent to '!(record1 < record2)'.", IBoolean,
  70. //VB:       virtual IBoolean operator >=(const IOrderedRecord& aRecord) const
  71. //VBPreferredFeatures: this
  72. //VBEndPartInfo: IOrderedRecord
  73. //
  74. //
  75. //VBBeginPartInfo: ICustomer, "IBM sample customer part"
  76. //VBParent: IStandardNotifier
  77. //VBIncludes: <icust.hpp> _ICUST_
  78. //VBPartDataFile: 'VBSample.vbb'
  79. //VBComposerInfo: nonvisual, 10478, dde4vr30
  80. //
  81. //VBAttribute: address,
  82. //VB:          "Query the address (IAddress*) attribute.",
  83. //VB:          IAddress*,
  84. //VB:          virtual IAddress* address() const,
  85. //VB:          virtual ICustomer& setAddress(const IAddress& address),
  86. //VB:          addressId
  87. //VBAttribute: date,
  88. //VB:          "Query the date (IDate) attribute.",
  89. //VB:          IDate,
  90. //VB:          virtual IDate date() const,
  91. //VB:          virtual ICustomer& setDate(const IDate& date),
  92. //VB:          dateId
  93. //VBAttribute: homePhone,
  94. //VB:          "Query the homePhone (IString) attribute.",
  95. //VB:          IString,
  96. //VB:          virtual IString homePhone() const,
  97. //VB:          virtual ICustomer& setHomePhone(const IString& homePhone),
  98. //VB:          homePhoneId
  99. //VBAttribute: name,
  100. //VB:          "Query the name (IString) attribute.",
  101. //VB:          IString,
  102. //VB:          virtual IString name() const,
  103. //VB:          virtual ICustomer& setName(const IString& name),
  104. //VB:          nameId
  105. //VBAttribute: time,
  106. //VB:          "Query the time (ITime) attribute.",
  107. //VB:          ITime,
  108. //VB:          virtual ITime time() const,
  109. //VB:          virtual ICustomer& setTime(const ITime& time),
  110. //VB:          timeId
  111. //VBAttribute: workPhone,
  112. //VB:          "Query the workPhone (IString) attribute.",
  113. //VB:          IString,
  114. //VB:          virtual IString workPhone() const,
  115. //VB:          virtual ICustomer& setWorkPhone(const IString& workPhone),
  116. //VB:          workPhoneId
  117. //VBAction: operator !=
  118. //VB:       ,, Boolean,
  119. //VB:       Boolean operator !=(const ICustomer* aValue) const
  120. //VBAction: operator ==
  121. //VB:       ,, Boolean,
  122. //VB:       Boolean operator ==(const ICustomer& aValue) const
  123. //VBAction: setAddressToDefault
  124. //VB:       ,"Perform the setAddressToDefault action.",,
  125. //VB:       virtual ICustomer& setAddressToDefault()
  126. //VBAction: setHomePhoneToDefault
  127. //VB:       ,"Perform the setHomePhoneToDefault action.",,
  128. //VB:       virtual ICustomer& setHomePhoneToDefault()
  129. //VBAction: setNameToDefault
  130. //VB:       ,"Perform the setNameToDefault action.",,
  131. //VB:       virtual ICustomer& setNameToDefault()
  132. //VBAction: setWorkPhoneToDefault
  133. //VB:       ,"Perform the setWorkPhoneToDefault action.",,
  134. //VB:       virtual ICustomer& setWorkPhoneToDefault()
  135. //VBPreferredFeatures: this, name, address, date, homePhone, time, workPhone, setNameToDefault
  136. //VBEndPartInfo: ICustomer
  137. //
  138. //VBBeginTypedefInfo: ICustomerElemPtr
  139. //VBIncludes: <icust.hpp>
  140. //VBPartDataFile: 'VBSample.vbb'
  141. //VBEndTypedefInfo: ICustomerElemPtr
  142. //
  143. //VBBeginTypedefInfo: ICustomerMngPtr
  144. //VBIncludes: <icust.hpp>
  145. //VBPartDataFile: 'VBSample.vbb'
  146. //VBEndTypedefInfo: ICustomerMngPtr
  147. //
  148. //
  149. //VBBeginPartInfo: IAddress, "IBM sample address part"
  150. //VBParent: IStandardNotifier
  151. //VBIncludes: <iadd.hpp> _IADD_
  152. //VBPartDataFile: 'VBSample.vbb'
  153. //VBComposerInfo: nonvisual, 10058, dde4vr30
  154. //
  155. //VBAttribute: city,
  156. //VB:          "Query the city (IString) attribute.",
  157. //VB:          IString,
  158. //VB:          virtual IString city() const,
  159. //VB:          virtual IAddress& setCity(const IString& city),
  160. //VB:          cityId
  161. //VBAttribute: state,
  162. //VB:          "Query the state (IString) attribute.",
  163. //VB:          IString,
  164. //VB:          virtual IString state() const,
  165. //VB:          virtual IAddress& setState(const IString& state),
  166. //VB:          stateId
  167. //VBAttribute: street,
  168. //VB:          "Query the street (IString) attribute.",
  169. //VB:          IString,
  170. //VB:          virtual IString street() const,
  171. //VB:          virtual IAddress& setStreet(const IString& street),
  172. //VB:          streetId
  173. //VBAttribute: zip,
  174. //VB:          "Query the zip (IString) attribute.",
  175. //VB:          IString,
  176. //VB:          virtual IString zip() const,
  177. //VB:          virtual IAddress& setZip(const IString& zip),
  178. //VB:          zipId
  179. //VBAction: operator !=
  180. //VB:       ,, Boolean,
  181. //VB:       Boolean operator !=(const IAddress* aValue) const
  182. //VBAction: operator ==
  183. //VB:       ,, Boolean,
  184. //VB:       Boolean operator ==(const IAddress* aValue) const
  185. //VBAction: setCityToDefault
  186. //VB:       ,"Perform the setCityToDefault action.",,
  187. //VB:       virtual IAddress& setCityToDefault()
  188. //VBAction: setStateToDefault
  189. //VB:       ,"Perform the setStateToDefault action.",,
  190. //VB:       virtual IAddress& setStateToDefault()
  191. //VBAction: setStreetToDefault
  192. //VB:       ,"Perform the setStreetToDefault action.",,
  193. //VB:       virtual IAddress& setStreetToDefault()
  194. //VBAction: setToDefault
  195. //VB:       ,"Perform the setToDefault action.",,
  196. //VB:       virtual IAddress& setToDefault()
  197. //VBAction: setZipToDefault
  198. //VB:       ,"Perform the setZipToDefault action.",,
  199. //VB:       virtual IAddress& setZipToDefault()
  200. //VBPreferredFeatures: this, city, state, street, zip, setToDefault
  201. //VBEndPartInfo: IAddress
  202. //
  203. //
  204. //VBBeginPartInfo: ICompany, "IBM sample company part"
  205. //VBParent: IStandardNotifier
  206. //VBIncludes: <icompany.hpp> _ICOMPANY_
  207. //VBPartDataFile: 'VBSample.vbb'
  208. //VBComposerInfo: nonvisual, 10082, dde4vr30
  209. //
  210. //VBEvent: customerAddedEvent,
  211. //VB:      "Notification event for when customer added to customer list.",
  212. //VB:      customerAddedId
  213. //VBAttribute: address,
  214. //VB:          "Query the address (IAddress*) attribute.",
  215. //VB:          IAddress*,
  216. //VB:          virtual IAddress* address() const,
  217. //VB:          virtual ICompany& setAddress(IAddress* address),
  218. //VB:          addressId
  219. //VBAttribute: customerList,
  220. //VB:          "Query the customerList (IVSequence <ICustomer*> *) attribute.",
  221. //VB:          IVSequence < ICustomer * >*,
  222. //VB:          virtual IVSequence < ICustomer * >* customerList() const,
  223. //VB:          virtual ICompany& setCustomerList(const IVSequence < ICustomer * >& customerList),
  224. //VB:          customerListId
  225. //VBAttribute: name,
  226. //VB:          "Query the name (IString) attribute.",
  227. //VB:          IString,
  228. //VB:          virtual IString name() const,
  229. //VB:          virtual ICompany& setName(const IString& name),
  230. //VB:          nameId
  231. //VBAttribute: phone,
  232. //VB:          "Query the phone (IString) attribute.",
  233. //VB:          IString,
  234. //VB:          virtual IString phone() const,
  235. //VB:          virtual ICompany& setPhone(const IString& phone),
  236. //VB:          phoneId
  237. //VBAction: addCustomer
  238. //VB:       ,"Perform the add customer action.",,
  239. //VB:       virtual ICompany& addCustomer(const IString& name)
  240. //VBAction: operator !=
  241. //VB:       ,, Boolean,
  242. //VB:       Boolean operator !=(const ICompany& aValue) const
  243. //VBAction: operator ==
  244. //VB:       ,, Boolean,
  245. //VB:       Boolean operator ==(const ICompany& aValue) const
  246. //VBAction: setAddressToDefault
  247. //VB:       ,"Perform the setAddressToDefault action.",,
  248. //VB:       virtual ICompany& setAddressToDefault()
  249. //VBAction: setCustomerListToDefault
  250. //VB:       ,"Perform the setCustomerListToDefault action.",,
  251. //VB:       virtual ICompany& setCustomerListToDefault()
  252. //VBAction: setNameToDefault
  253. //VB:       ,"Perform the setNameToDefault action.",,
  254. //VB:       virtual ICompany& setNameToDefault()
  255. //VBAction: setPhoneToDefault
  256. //VB:       ,"Perform the setPhoneToDefault action.",,
  257. //VB:       virtual ICompany& setPhoneToDefault()
  258. //VBPreferredFeatures: this, name, address, customerList, phone, addCustomer, customerAddedEvent
  259. //VBEndPartInfo: ICompany
  260. //
  261. //VBBeginTypedefInfo: ICompanyElemPtr
  262. //VBIncludes: <icust.hpp>
  263. //VBPartDataFile: 'VBSample.vbb'
  264. //VBEndTypedefInfo: ICompanyElemPtr
  265. //
  266. //VBBeginTypedefInfo: ICompanyMngPtr
  267. //VBIncludes: <icust.hpp>
  268. //VBPartDataFile: 'VBSample.vbb'
  269. //VBEndTypedefInfo: ICompanyMngPtr
  270. //
  271. //
  272. //VBBeginPartInfo: IVBDataTypePart, "IBM VB abstract class for all data type parts"
  273. //VBParent: IStandardNotifier
  274. //VBIncludes: <ivbdtype.hpp> _IVBDTYPE_
  275. //VBPartDataFile: 'VBSample.vbb'
  276. //VBComposerInfo: nonvisual, 204, dde4vr30, abstract
  277. //
  278. //VBEvent: valueEqualDefaultEvent,
  279. //VB:      "Notification event for value equals default attribute.",
  280. //VB:      valueEqualDefaultId
  281. //VBEvent: inputStringNotValid,
  282. //VB:      "Notification event when input string not valid.",
  283. //VB:      inputStringNotValidId
  284. //VBEvent: inputStringIsValid,
  285. //VB:      "Notification event when input string is valid.",
  286. //VB:      inputStringIsValidId
  287. //VBEvent: valueNotEqualDefaultEvent,
  288. //VB:      "Notification event when value does not equal default attribute.",
  289. //VB:      valueNotEqualDefaultId
  290. //VBEvent: valueEqualLowLimitEvent,
  291. //VB:      "Notification event when value equals low limit attribute.",
  292. //VB:      valueEqualLowLimitId
  293. //VBEvent: valueEqualHighLimitEvent,
  294. //VB:      "Notification event when value equals high limit attribute.",
  295. //VB:      valueEqualHighLimitId
  296. //VBEvent: valueBelowLowLimitEvent,
  297. //VB:      "Notification event when value is below low limit attribute.",
  298. //VB:      valueBelowLowLimitId
  299. //VBEvent: valueAboveHighLimitEvent,
  300. //VB:      "Notification event when value is above high limit attribute.",
  301. //VB:      valueAboveHighLimitId
  302. //VBEvent: valueOutsideLimitsEvent,
  303. //VB:      "Notification when (value < low limit) or (value > high limit).",
  304. //VB:      valueOutsideLimitsId
  305. //VBEvent: valueWithinLimitsEvent,
  306. //VB:      "Notification when (high limit >= value >= low limit).",
  307. //VB:      valueWithinLimitsId
  308. //VBEvent: valueNotZeroEvent,
  309. //VB:      "Notification event when value is not zero.",
  310. //VB:      valueNotZeroId
  311. //VBEvent: valueZeroEvent,
  312. //VB:      "Notification event for value is zero.",
  313. //VB:      valueZeroId
  314. //VBEvent: valuePositiveEvent,
  315. //VB:      "Notification event when value is positive (value > 0).",
  316. //VB:      valuePositiveId
  317. //VBEvent: valueNegativeEvent,
  318. //VB:      "Notification event when value is negative (value < 0).",
  319. //VB:      valueNegativeId
  320. //VBEvent: textEqualDefaultEvent,
  321. //VB:      "Notification event when text equals default attribute.",
  322. //VB:      textEqualDefaultId
  323. //VBEvent: textNotEqualDefaultEvent,
  324. //VB:      "Notification event when text does not equal default attribute.",
  325. //VB:      textNotEqualDefaultId
  326. //VBEvent: textLengthEvent,
  327. //VB:      "Notification event for textLength attribute.",
  328. //VB:      textLengthId
  329. //VBEvent: lowerCaseEvent,
  330. //VB:      "Notification event when text is lower case.",
  331. //VB:      lowerCaseId
  332. //VBEvent: upperCaseEvent,
  333. //VB:      "Notification event when text is upper case.",
  334. //VB:      upperCaseId
  335. //VBEvent: digitsEvent,
  336. //VB:      "Notification event for digits attribute.",
  337. //VB:      digitsId
  338. //VBEndPartInfo: IVBDataTypePart
  339. //
  340. //
  341. //VBBeginPartInfo: IVBBooleanPart, "IBM VB part support for Boolean data"
  342. //VBParent: IVBDataTypePart
  343. //VBIncludes: <ivbbool.hpp> _IVBBOOL_
  344. //VBPartDataFile: 'VBSample.vbb'
  345. //VBComposerInfo: nonvisual, 204, dde4vr30
  346. //VBConstructor: IVBBooleanPart (
  347. //VB:  Boolean value = false
  348. //VB:  )
  349. //
  350. //VBEvent: valueTrueEvent,
  351. //VB:      "Notification event for value is true.",
  352. //VB:      VALUETRUEID
  353. //VBEvent: valueFalseEvent,
  354. //VB:      "Notification event for value is false.",
  355. //VB:      VALUEFALSEID
  356. //VBAttribute: defaultValue,
  357. //VB:          "Query the defaultValue (Boolean) attribute.",
  358. //VB:          Boolean,
  359. //VB:          virtual Boolean defaultValue() const,
  360. //VB:          virtual IVBBooleanPart& setDefaultValue(Boolean defaultValue = false),
  361. //VB:          defaultValueId
  362. //VBAttribute: valueEqualDefault,
  363. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  364. //VB:          Boolean,
  365. //VB:          virtual Boolean isValueEqualDefault() const,,
  366. //VB:          valueId
  367. //VBAttribute: valueNotEqualDefault,
  368. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  369. //VB:          Boolean,
  370. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  371. //VB:          valueId
  372. //VBAttribute: notValue,
  373. //VB:          "Query the notValue (Boolean) attribute.",
  374. //VB:          Boolean,
  375. //VB:          virtual Boolean notValue() const,
  376. //VB:          virtual IVBBooleanPart& setNotValue(Boolean notValue),
  377. //VB:          valueId
  378. //VB:          , NOSETTING
  379. //VBAttribute: notValueAsText,
  380. //VB:          "Query the notValueAsText (IString) attribute.",
  381. //VB:          IString,
  382. //VB:          virtual IString notValueAsText() const,
  383. //VB:          virtual IVBBooleanPart& setNotValueAsText(const IString& notValueAsText),
  384. //VB:          valueId
  385. //VB:          , NOSETTING
  386. //VBAttribute: value,
  387. //VB:          "Query the value (Boolean) attribute.",
  388. //VB:          Boolean,
  389. //VB:          virtual Boolean value() const,
  390. //VB:          virtual IVBBooleanPart& setValue(Boolean value),
  391. //VB:          valueId
  392. //VBAttribute: valueAsText,
  393. //VB:          "Query the valueAsText (IString) attribute.",
  394. //VB:          IString,
  395. //VB:          virtual IString valueAsText() const,
  396. //VB:          virtual IVBBooleanPart& setValueAsText(const IString* valueAsText),
  397. //VB:          valueId
  398. //VB:          , NOSETTING
  399. //VBAction: assignValueToDefault
  400. //VB:       ,"Assign the value attribute to false.",,
  401. //VB:       virtual IVBBooleanPart& assignValueToDefault()
  402. //VBAction: assignValueToFalse
  403. //VB:       ,"Assign the value attribute to false.",,
  404. //VB:       virtual IVBBooleanPart& assignValueToFalse()
  405. //VBAction: assignValueToTrue
  406. //VB:       ,"Assign the value attribute to true.",,
  407. //VB:       virtual IVBBooleanPart& assignValueToTrue()
  408. //VBAction: copyValueToDefault
  409. //VB:       ,"Copy value to default value.",,
  410. //VB:       virtual IVBBooleanPart& copyValueToDefault()
  411. //VBAction: logicalAndValue
  412. //VB:       ,"Perform logical and operator on value.",,
  413. //VB:       virtual IVBBooleanPart& logicalAndValue(Boolean andValue)
  414. //VBAction: logicalNotValue
  415. //VB:       ,"Perform logical negation on value.",,
  416. //VB:       virtual IVBBooleanPart& logicalNotValue()
  417. //VBAction: logicalOrValue
  418. //VB:       ,"Perform logical or operator on value.",,
  419. //VB:       virtual IVBBooleanPart& logicalOrValue(Boolean orValue)
  420. //VBAction: operator !=
  421. //VB:       ,, Boolean,
  422. //VB:       Boolean operator !=(const IVBBooleanPart& aValue) const
  423. //VBAction: operator ==
  424. //VB:       ,, Boolean,
  425. //VB:       Boolean operator ==(const IVBBooleanPart* aValue) const
  426. //VBPreferredFeatures: this, value, notValue, assignValueToTrue, assignValueToFalse, valueAsText, assignValueToDefault, valueTrueEvent, valueFalseEvent
  427. //VBEndPartInfo: IVBBooleanPart
  428. //
  429. //
  430. //VBBeginPartInfo: IVBLongPart, "IBM VB part support for Long data"
  431. //VBParent: IVBDataTypePart
  432. //VBIncludes: <ivblong.hpp> _IVBLONG_
  433. //VBPartDataFile: 'VBSample.vbb'
  434. //VBComposerInfo: nonvisual, 204, dde4vr30
  435. //VBConstructor: IVBLongPart (
  436. //VB:  long value = 0
  437. //VB:  )
  438. //
  439. //VBAttribute: defaultValue,
  440. //VB:          "Query the defaultValue (long) attribute.",
  441. //VB:          long,
  442. //VB:          virtual long defaultValue() const,
  443. //VB:          virtual IVBLongPart& setDefaultValue(long defaultValue = 0),
  444. //VB:          defaultValueId
  445. //VBAttribute: highLimit,
  446. //VB:          "Query the highLimit (long) attribute.",
  447. //VB:          long,
  448. //VB:          virtual long highLimit() const,
  449. //VB:          virtual IVBLongPart& setHighLimit(long highLimit = LONG_MAX),
  450. //VB:          highLimitId
  451. //VBAttribute: valueAboveHighLimit,
  452. //VB:          "Query the valueAboveHighLimit (Boolean) attribute.",
  453. //VB:          Boolean,
  454. //VB:          virtual Boolean isValueAboveHighLimit() const,,
  455. //VB:          VBANYEVENT
  456. //VBAttribute: valueBelowLowLimit,
  457. //VB:          "Query the valueBelowLowLimit (Boolean) attribute.",
  458. //VB:          Boolean,
  459. //VB:          virtual Boolean isValueBelowLowLimit() const,,
  460. //VB:          VBANYEVENT
  461. //VBAttribute: valueEqualDefault,
  462. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  463. //VB:          Boolean,
  464. //VB:          virtual Boolean isValueEqualDefault() const,,
  465. //VB:          VBANYEVENT
  466. //VBAttribute: valueEqualHighLimit,
  467. //VB:          "Query the valueEqualHighLimit (Boolean) attribute.",
  468. //VB:          Boolean,
  469. //VB:          virtual Boolean isValueEqualHighLimit() const,,
  470. //VB:          VBANYEVENT
  471. //VBAttribute: valueEqualLowLimit,
  472. //VB:          "Query the valueEqualLowLimit (Boolean) attribute.",
  473. //VB:          Boolean,
  474. //VB:          virtual Boolean isValueEqualLowLimit() const,,
  475. //VB:          VBANYEVENT
  476. //VBAttribute: valueNegative,
  477. //VB:          "Query the valueNegative (Boolean) attribute.",
  478. //VB:          Boolean,
  479. //VB:          virtual Boolean isValueNegative() const,,
  480. //VB:          valueId
  481. //VBAttribute: valueNotEqualDefault,
  482. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  483. //VB:          Boolean,
  484. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  485. //VB:          VBANYEVENT
  486. //VBAttribute: valueNotZero,
  487. //VB:          "Query the valueNotZero (Boolean) attribute.",
  488. //VB:          Boolean,
  489. //VB:          virtual Boolean isValueNotZero() const,,
  490. //VB:          valueId
  491. //VBAttribute: valueOutsideLimits,
  492. //VB:          "Query the valueOutsideLimits (Boolean) attribute.",
  493. //VB:          Boolean,
  494. //VB:          virtual Boolean isValueOutsideLimits() const,,
  495. //VB:          VBANYEVENT
  496. //VBAttribute: valuePositive,
  497. //VB:          "Query the valuePositive (Boolean) attribute.",
  498. //VB:          Boolean,
  499. //VB:          virtual Boolean isValuePositive() const,,
  500. //VB:          valueId
  501. //VBAttribute: valueWithinLimits,
  502. //VB:          "Query the valueWithinLimits (Boolean) attribute.",
  503. //VB:          Boolean,
  504. //VB:          virtual Boolean isValueWithinLimits() const,,
  505. //VB:          valueId
  506. //VBAttribute: valueZero,
  507. //VB:          "Query the valueZero (Boolean) attribute.",
  508. //VB:          Boolean,
  509. //VB:          virtual Boolean isValueZero() const,,
  510. //VB:          valueId
  511. //VBAttribute: lowLimit,
  512. //VB:          "Query the lowLimit (long) attribute.",
  513. //VB:          long,
  514. //VB:          virtual long lowLimit() const,
  515. //VB:          virtual IVBLongPart& setLowLimit(long lowLimit = LONG_MIN),
  516. //VB:          lowLimitId
  517. //VBAttribute: value,
  518. //VB:          "Query the value (long) attribute.",
  519. //VB:          long,
  520. //VB:          virtual long value() const,
  521. //VB:          virtual IVBLongPart& setValue(long value),
  522. //VB:          valueId
  523. //VBAttribute: valueAs1Based,
  524. //VB:          "Query the valueAs1Based (long) attribute.",
  525. //VB:          long,
  526. //VB:          virtual long valueAs1Based() const,
  527. //VB:          virtual IVBLongPart& setValueAs1Based(long valueAs1Based),
  528. //VB:          valueId
  529. //VB:          , NOSETTING
  530. //VBAttribute: valueAsText,
  531. //VB:          "Query the valueAsText (IString) attribute.",
  532. //VB:          IString,
  533. //VB:          virtual IString valueAsText() const,
  534. //VB:          virtual IVBLongPart& setValueAsText(const IString& valueAsText),
  535. //VB:          valueId
  536. //VB:          , NOSETTING
  537. //VBAction: addValue
  538. //VB:       ,"Perform add operator on value.",,
  539. //VB:       virtual IVBLongPart& addValue(long addValue = 1)
  540. //VBAction: andValue
  541. //VB:       ,"Perform and operator on value.",,
  542. //VB:       virtual IVBLongPart& andValue(long andValue = 1)
  543. //VBAction: assignValueToDefault
  544. //VB:       ,"Assign the value attribute to false.",,
  545. //VB:       virtual IVBLongPart& assignValueToDefault()
  546. //VBAction: assignValueToHighLimit
  547. //VB:       ,"Assign value attribute to high limit ",,
  548. //VB:       virtual IVBLongPart& assignValueToHighLimit()
  549. //VBAction: assignValueToLowLimit
  550. //VB:       ,"Assign value attribute to low limit.",,
  551. //VB:       virtual IVBLongPart& assignValueToLowLimit()
  552. //VBAction: assignValueToOne
  553. //VB:       ,"Assign value attribute to 1 (true).",,
  554. //VB:       virtual IVBLongPart& assignValueToOne()
  555. //VBAction: assignValueToRandom
  556. //VB:       ,"Assign value to pseudo-random number ",,
  557. //VB:       virtual IVBLongPart& assignValueToRandom()
  558. //VBAction: assignValueToZero
  559. //VB:       ,"Assign value attribute to 0 (false).",,
  560. //VB:       virtual IVBLongPart& assignValueToZero()
  561. //VBAction: copyValueToDefault
  562. //VB:       ,"Copy value to default value.",,
  563. //VB:       virtual IVBLongPart& copyValueToDefault()
  564. //VBAction: divideValue
  565. //VB:       ,"Perform divide operator on value.",,
  566. //VB:       virtual IVBLongPart& divideValue(long divideValue = 2)
  567. //VBAction: multiplyValue
  568. //VB:       ,"Perform multiply operator on value.",,
  569. //VB:       virtual IVBLongPart& multiplyValue(long multiplyValue = 2)
  570. //VBAction: operator !=
  571. //VB:       ,, Boolean,
  572. //VB:       Boolean operator !=(const IVBLongPart& aValue) const
  573. //VBAction: operator ==
  574. //VB:       ,, Boolean,
  575. //VB:       Boolean operator ==(const IVBLongPart* aValue) const
  576. //VBAction: orValue
  577. //VB:       ,"Perform or operator on value.",,
  578. //VB:       virtual IVBLongPart& orValue(long orValue = 1)
  579. //VBAction: squareValue
  580. //VB:       ,"Square the value attribute.",,
  581. //VB:       virtual IVBLongPart& squareValue()
  582. //VBAction: subtractValue
  583. //VB:       ,,,
  584. //VB:       virtual IVBLongPart& subtractValue(long subtractValue = 1)
  585. //VBPreferredFeatures: this, value, assignValueToZero, assignValueToOne, valueAsText, assignValueToDefault, addValue, lowLimit, highLimit, valueOutsideLimitsEvent, valueWithinLimitsEvent
  586. //VBEndPartInfo: IVBLongPart
  587. //
  588. //
  589. //VBBeginPartInfo: IVBUnsignedLongPart, "IBM VB part support for Unsigned Long data"
  590. //VBParent: IVBDataTypePart
  591. //VBIncludes: <ivbulong.hpp> _IVBULONG_
  592. //VBPartDataFile: 'VBSample.vbb'
  593. //VBComposerInfo: nonvisual, 204, dde4vr30
  594. //VBConstructor: IVBUnsignedLongPart (
  595. //VB:  unsigned long value = 0
  596. //VB:  )
  597. //
  598. //VBAttribute: defaultValue,
  599. //VB:          "Query the defaultValue (unsigned long) attribute.",
  600. //VB:          unsigned long,
  601. //VB:          virtual unsigned long defaultValue() const,
  602. //VB:          virtual IVBUnsignedLongPart& setDefaultValue(unsigned long defaultValue = 0),
  603. //VB:          defaultValueId
  604. //VBAttribute: highLimit,
  605. //VB:          "Query the highLimit (unsigned long) attribute.",
  606. //VB:          unsigned long,
  607. //VB:          virtual unsigned long highLimit() const,
  608. //VB:          virtual IVBUnsignedLongPart& setHighLimit(unsigned long highLimit = ULONG_MAX),
  609. //VB:          highLimitId
  610. //VBAttribute: valueAboveHighLimit,
  611. //VB:          "Query the valueAboveHighLimit (Boolean) attribute.",
  612. //VB:          Boolean,
  613. //VB:          virtual Boolean isValueAboveHighLimit() const,,
  614. //VB:          VBANYEVENT
  615. //VBAttribute: valueBelowLowLimit,
  616. //VB:          "Query the valueBelowLowLimit (Boolean) attribute.",
  617. //VB:          Boolean,
  618. //VB:          virtual Boolean isValueBelowLowLimit() const,,
  619. //VB:          VBANYEVENT
  620. //VBAttribute: valueEqualDefault,
  621. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  622. //VB:          Boolean,
  623. //VB:          virtual Boolean isValueEqualDefault() const,,
  624. //VB:          VBANYEVENT
  625. //VBAttribute: valueEqualHighLimit,
  626. //VB:          "Query the valueEqualHighLimit (Boolean) attribute.",
  627. //VB:          Boolean,
  628. //VB:          virtual Boolean isValueEqualHighLimit() const,,
  629. //VB:          VBANYEVENT
  630. //VBAttribute: valueEqualLowLimit,
  631. //VB:          "Query the valueEqualLowLimit (Boolean) attribute.",
  632. //VB:          Boolean,
  633. //VB:          virtual Boolean isValueEqualLowLimit() const,,
  634. //VB:          VBANYEVENT
  635. //VBAttribute: valueNotEqualDefault,
  636. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  637. //VB:          Boolean,
  638. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  639. //VB:          VBANYEVENT
  640. //VBAttribute: valueNotZero,
  641. //VB:          "Query the valueNotZero (Boolean) attribute.",
  642. //VB:          Boolean,
  643. //VB:          virtual Boolean isValueNotZero() const,,
  644. //VB:          valueId
  645. //VBAttribute: valueOutsideLimits,
  646. //VB:          "Query the valueOutsideLimits (Boolean) attribute.",
  647. //VB:          Boolean,
  648. //VB:          virtual Boolean isValueOutsideLimits() const,,
  649. //VB:          VBANYEVENT
  650. //VBAttribute: valueWithinLimits,
  651. //VB:          "Query the valueWithinLimits (Boolean) attribute.",
  652. //VB:          Boolean,
  653. //VB:          virtual Boolean isValueWithinLimits() const,,
  654. //VB:          VBANYEVENT
  655. //VBAttribute: valueZero,
  656. //VB:          "Query the valueZero (Boolean) attribute.",
  657. //VB:          Boolean,
  658. //VB:          virtual Boolean isValueZero() const,,
  659. //VB:          valueId
  660. //VBAttribute: lowLimit,
  661. //VB:          "Query the lowLimit (unsigned long) attribute.",
  662. //VB:          unsigned long,
  663. //VB:          virtual unsigned long lowLimit() const,
  664. //VB:          virtual IVBUnsignedLongPart& setLowLimit(unsigned long lowLimit = 0),
  665. //VB:          lowLimitId
  666. //VBAttribute: value,
  667. //VB:          "Query the value (unsigned long) attribute.",
  668. //VB:          unsigned long,
  669. //VB:          virtual unsigned long value() const,
  670. //VB:          virtual IVBUnsignedLongPart& setValue(unsigned long value),
  671. //VB:          valueId
  672. //VBAttribute: valueAs1Based,
  673. //VB:          "Query the valueAs1Based (unsigned long) attribute.",
  674. //VB:          unsigned long,
  675. //VB:          virtual unsigned long valueAs1Based() const,
  676. //VB:          virtual IVBUnsignedLongPart& setValueAs1Based(unsigned long valueAs1Based),
  677. //VB:          valueId
  678. //VB:          , NOSETTING
  679. //VBAttribute: valueAsText,
  680. //VB:          "Query the valueAsText (IString) attribute.",
  681. //VB:          IString,
  682. //VB:          virtual IString valueAsText() const,
  683. //VB:          virtual IVBUnsignedLongPart& setValueAsText(const IString* valueAsText),
  684. //VB:          valueId
  685. //VB:          , NOSETTING
  686. //VBAction: addValue
  687. //VB:       ,"Perform add operator on value.",,
  688. //VB:       virtual IVBUnsignedLongPart& addValue(unsigned long addValue = 1)
  689. //VBAction: andValue
  690. //VB:       ,"Perform and operator on value.",,
  691. //VB:       virtual IVBUnsignedLongPart& andValue(unsigned long andValue = 1)
  692. //VBAction: assignValueToDefault
  693. //VB:       ,"Assign the value attribute to false.",,
  694. //VB:       virtual IVBUnsignedLongPart& assignValueToDefault()
  695. //VBAction: assignValueToHighLimit
  696. //VB:       ,"Assign value attribute to high limit ",,
  697. //VB:       virtual IVBUnsignedLongPart& assignValueToHighLimit()
  698. //VBAction: assignValueToLowLimit
  699. //VB:       ,"Assign value attribute to low limit.",,
  700. //VB:       virtual IVBUnsignedLongPart& assignValueToLowLimit()
  701. //VBAction: assignValueToOne
  702. //VB:       ,"Assign value attribute to 1 (true).",,
  703. //VB:       virtual IVBUnsignedLongPart& assignValueToOne()
  704. //VBAction: assignValueToRandom
  705. //VB:       ,"Assign value to pseudo-random number ",,
  706. //VB:       virtual IVBUnsignedLongPart& assignValueToRandom()
  707. //VBAction: assignValueToZero
  708. //VB:       ,"Assign value attribute to 0 (false).",,
  709. //VB:       virtual IVBUnsignedLongPart& assignValueToZero()
  710. //VBAction: copyValueToDefault
  711. //VB:       ,"Copy value to default value.",,
  712. //VB:       virtual IVBUnsignedLongPart& copyValueToDefault()
  713. //VBAction: divideValue
  714. //VB:       ,"Perform divide operator on value.",,
  715. //VB:       virtual IVBUnsignedLongPart& divideValue(unsigned long divideValue = 2)
  716. //VBAction: multiplyValue
  717. //VB:       ,"Perform multiply operator on value.",,
  718. //VB:       virtual IVBUnsignedLongPart& multiplyValue(unsigned long multiplyValue = 2)
  719. //VBAction: operator !=
  720. //VB:       ,, Boolean,
  721. //VB:       Boolean operator !=(const IVBUnsignedLongPart& aValue) const
  722. //VBAction: operator ==
  723. //VB:       ,, Boolean,
  724. //VB:       Boolean operator ==(const IVBUnsignedLongPart& aValue) const
  725. //VBAction: orValue
  726. //VB:       ,"Perform or operator on value.",,
  727. //VB:       virtual IVBUnsignedLongPart& orValue(unsigned long orValue = 1)
  728. //VBAction: squareValue
  729. //VB:       ,"Square the value attribute.",,
  730. //VB:       virtual IVBUnsignedLongPart& squareValue()
  731. //VBAction: subtractValue
  732. //VB:       ,,,
  733. //VB:       virtual IVBUnsignedLongPart& subtractValue(unsigned long subtractValue = 1)
  734. //VBPreferredFeatures: this, value, assignValueToZero, assignValueToOne, valueAsText, assignValueToDefault, lowLimit, highLimit, valueOutsideLimitsEvent, valueWithinLimitsEvent
  735. //VBEndPartInfo: IVBUnsignedLongPart
  736. //
  737. //
  738. //VBBeginPartInfo: IVBShortPart, "IBM VB part support for Short data"
  739. //VBParent: IVBDataTypePart
  740. //VBIncludes: <ivbshort.hpp> _IVBSHORT_
  741. //VBPartDataFile: 'VBSample.vbb'
  742. //VBComposerInfo: nonvisual, 204, dde4vr30
  743. //VBConstructor: IVBShortPart (
  744. //VB:  short value = 0
  745. //VB:  )
  746. //
  747. //VBAttribute: defaultValue,
  748. //VB:          "Query the defaultValue (short) attribute.",
  749. //VB:          short,
  750. //VB:          virtual short defaultValue() const,
  751. //VB:          virtual IVBShortPart& setDefaultValue(short defaultValue = 0),
  752. //VB:          defaultValueId
  753. //VBAttribute: highLimit,
  754. //VB:          "Query the highLimit (short) attribute.",
  755. //VB:          short,
  756. //VB:          virtual short highLimit() const,
  757. //VB:          virtual IVBShortPart& setHighLimit(short highLimit = SHRT_MAX),
  758. //VB:          highLimitId
  759. //VBAttribute: valueAboveHighLimit,
  760. //VB:          "Query the valueAboveHighLimit (Boolean) attribute.",
  761. //VB:          Boolean,
  762. //VB:          virtual Boolean isValueAboveHighLimit() const,,
  763. //VB:          VBANYEVENT
  764. //VBAttribute: valueBelowLowLimit,
  765. //VB:          "Query the valueBelowLowLimit (Boolean) attribute.",
  766. //VB:          Boolean,
  767. //VB:          virtual Boolean isValueBelowLowLimit() const,,
  768. //VB:          VBANYEVENT
  769. //VBAttribute: valueEqualDefault,
  770. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  771. //VB:          Boolean,
  772. //VB:          virtual Boolean isValueEqualDefault() const,,
  773. //VB:          VBANYEVENT
  774. //VBAttribute: valueEqualHighLimit,
  775. //VB:          "Query the valueEqualHighLimit (Boolean) attribute.",
  776. //VB:          Boolean,
  777. //VB:          virtual Boolean isValueEqualHighLimit() const,,
  778. //VB:          VBANYEVENT
  779. //VBAttribute: valueEqualLowLimit,
  780. //VB:          "Query the valueEqualLowLimit (Boolean) attribute.",
  781. //VB:          Boolean,
  782. //VB:          virtual Boolean isValueEqualLowLimit() const,,
  783. //VB:          VBANYEVENT
  784. //VBAttribute: valueNegative,
  785. //VB:          "Query the valueNegative (Boolean) attribute.",
  786. //VB:          Boolean,
  787. //VB:          virtual Boolean isValueNegative() const,,
  788. //VB:          valueId
  789. //VBAttribute: valueNotEqualDefault,
  790. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  791. //VB:          Boolean,
  792. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  793. //VB:          VBANYEVENT
  794. //VBAttribute: valueNotZero,
  795. //VB:          "Query the valueNotZero (Boolean) attribute.",
  796. //VB:          Boolean,
  797. //VB:          virtual Boolean isValueNotZero() const,,
  798. //VB:          valueId
  799. //VBAttribute: valueOutsideLimits,
  800. //VB:          "Query the valueOutsideLimits (Boolean) attribute.",
  801. //VB:          Boolean,
  802. //VB:          virtual Boolean isValueOutsideLimits() const,,
  803. //VB:          VBANYEVENT
  804. //VBAttribute: valuePositive,
  805. //VB:          "Query the valuePositive (Boolean) attribute.",
  806. //VB:          Boolean,
  807. //VB:          virtual Boolean isValuePositive() const,,
  808. //VB:          valueId
  809. //VBAttribute: valueWithinLimits,
  810. //VB:          "Query the valueWithinLimits (Boolean) attribute.",
  811. //VB:          Boolean,
  812. //VB:          virtual Boolean isValueWithinLimits() const,,
  813. //VB:          VBANYEVENT
  814. //VBAttribute: valueZero,
  815. //VB:          "Query the valueZero (Boolean) attribute.",
  816. //VB:          Boolean,
  817. //VB:          virtual Boolean isValueZero() const,,
  818. //VB:          valueId
  819. //VBAttribute: lowLimit,
  820. //VB:          "Query the lowLimit (short) attribute.",
  821. //VB:          short,
  822. //VB:          virtual short lowLimit() const,
  823. //VB:          virtual IVBShortPart& setLowLimit(short lowLimit = SHRT_MIN),
  824. //VB:          lowLimitId
  825. //VBAttribute: value,
  826. //VB:          "Query the value (short) attribute.",
  827. //VB:          short,
  828. //VB:          virtual short value() const,
  829. //VB:          virtual IVBShortPart& setValue(),
  830. //VB:          valueId
  831. //VBAttribute: valueAs1Based,
  832. //VB:          "Query the valueAs1Based (short) attribute.",
  833. //VB:          short,
  834. //VB:          virtual short valueAs1Based() const,
  835. //VB:          virtual IVBShortPart& setValueAs1Based(short valueAs1Based),
  836. //VB:          valueId
  837. //VB:          , NOSETTING
  838. //VBAttribute: valueAsText,
  839. //VB:          "Query the valueAsText (IString) attribute.",
  840. //VB:          IString,
  841. //VB:          virtual IString valueAsText() const,
  842. //VB:          virtual IVBShortPart& setValueAsText(const IString* valueAsText),
  843. //VB:          valueId
  844. //VB:          , NOSETTING
  845. //VBAction: addValue
  846. //VB:       ,"Perform add operator on value.",,
  847. //VB:       virtual IVBShortPart& addValue(short addValue = 1)
  848. //VBAction: andValue
  849. //VB:       ,"Perform and operator on value.",,
  850. //VB:       virtual IVBShortPart& andValue(short andValue = 1)
  851. //VBAction: assignValueToDefault
  852. //VB:       ,"Assign the value attribute to false.",,
  853. //VB:       virtual IVBShortPart& assignValueToDefault()
  854. //VBAction: assignValueToHighLimit
  855. //VB:       ,"Assign value attribute to high limit ",,
  856. //VB:       virtual IVBShortPart& assignValueToHighLimit()
  857. //VBAction: assignValueToLowLimit
  858. //VB:       ,"Assign value attribute to low limit.",,
  859. //VB:       virtual IVBShortPart& assignValueToLowLimit()
  860. //VBAction: assignValueToOne
  861. //VB:       ,"Assign value attribute to 1 (true).",,
  862. //VB:       virtual IVBShortPart& assignValueToOne()
  863. //VBAction: assignValueToRandom
  864. //VB:       ,"Assign value to pseudo-random number ",,
  865. //VB:       virtual IVBShortPart& assignValueToRandom()
  866. //VBAction: assignValueToZero
  867. //VB:       ,"Assign value attribute to 0 (false).",,
  868. //VB:       virtual IVBShortPart& assignValueToZero()
  869. //VBAction: copyValueToDefault
  870. //VB:       ,"Copy value to default value.",,
  871. //VB:       virtual IVBShortPart& copyValueToDefault()
  872. //VBAction: divideValue
  873. //VB:       ,"Perform divide operator on value.",,
  874. //VB:       virtual IVBShortPart& divideValue(short divideValue = 2)
  875. //VBAction: multiplyValue
  876. //VB:       ,"Perform multiply operator on value.",,
  877. //VB:       virtual IVBShortPart& multiplyValue(short multiplyValue = 2)
  878. //VBAction: operator !=
  879. //VB:       ,, Boolean,
  880. //VB:       Boolean operator !=(const IVBShortPart& aValue) const
  881. //VBAction: operator ==
  882. //VB:       ,, Boolean,
  883. //VB:       Boolean operator ==(const IVBShortPart* aValue) const
  884. //VBAction: orValue
  885. //VB:       ,"Perform or operator on value.",,
  886. //VB:       virtual IVBShortPart& orValue(short orValue = 1)
  887. //VBAction: squareValue
  888. //VB:       ,"Square the value attribute.",,
  889. //VB:       virtual IVBShortPart& squareValue()
  890. //VBAction: subtractValue
  891. //VB:       ,,,
  892. //VB:       virtual IVBShortPart& subtractValue(short subtractValue = 1)
  893. //VBPreferredFeatures: this, value, assignValueToZero, assignValueToOne, valueAsText, assignValueToDefault, addValue, lowLimit, highLimit, valueOutsideLimitsEvent, valueWithinLimitsEvent
  894. //VBEndPartInfo: IVBShortPart
  895. //
  896. //
  897. //VBBeginPartInfo: IVBUnsignedShortPart, "IBM VB part support for Unsigned Short data"
  898. //VBParent: IVBDataTypePart
  899. //VBIncludes: <ivbushrt.hpp> _IVBUSHRT_
  900. //VBPartDataFile: 'VBSample.vbb'
  901. //VBComposerInfo: nonvisual, 204, dde4vr30
  902. //VBConstructor: IVBUnsignedShortPart (
  903. //VB:  unsigned short value = 0
  904. //VB:  )
  905. //
  906. //VBAttribute: defaultValue,
  907. //VB:          "Query the defaultValue (unsigned short) attribute.",
  908. //VB:          unsigned short,
  909. //VB:          virtual unsigned short defaultValue() const,
  910. //VB:          virtual IVBUnsignedShortPart& setDefaultValue(unsigned short defaultValue = 0),
  911. //VB:          defaultValueId
  912. //VBAttribute: highLimit,
  913. //VB:          "Query the highLimit (unsigned short) attribute.",
  914. //VB:          unsigned short,
  915. //VB:          virtual unsigned short highLimit() const,
  916. //VB:          virtual IVBUnsignedShortPart& setHighLimit(unsigned short highLimit = USHRT_MAX),
  917. //VB:          highLimitId
  918. //VBAttribute: valueAboveHighLimit,
  919. //VB:          "Query the valueAboveHighLimit (Boolean) attribute.",
  920. //VB:          Boolean,
  921. //VB:          virtual Boolean isValueAboveHighLimit() const,,
  922. //VB:          VBANYEVENT
  923. //VBAttribute: valueBelowLowLimit,
  924. //VB:          "Query the valueBelowLowLimit (Boolean) attribute.",
  925. //VB:          Boolean,
  926. //VB:          virtual Boolean isValueBelowLowLimit() const,,
  927. //VB:          VBANYEVENT
  928. //VBAttribute: valueEqualDefault,
  929. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  930. //VB:          Boolean,
  931. //VB:          virtual Boolean isValueEqualDefault() const,,
  932. //VB:          VBANYEVENT
  933. //VBAttribute: valueEqualHighLimit,
  934. //VB:          "Query the valueEqualHighLimit (Boolean) attribute.",
  935. //VB:          Boolean,
  936. //VB:          virtual Boolean isValueEqualHighLimit() const,,
  937. //VB:          VBANYEVENT
  938. //VBAttribute: valueEqualLowLimit,
  939. //VB:          "Query the valueEqualLowLimit (Boolean) attribute.",
  940. //VB:          Boolean,
  941. //VB:          virtual Boolean isValueEqualLowLimit() const,,
  942. //VB:          VBANYEVENT
  943. //VBAttribute: valueNotEqualDefault,
  944. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  945. //VB:          Boolean,
  946. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  947. //VB:          VBANYEVENT
  948. //VBAttribute: valueNotZero,
  949. //VB:          "Query the valueNotZero (Boolean) attribute.",
  950. //VB:          Boolean,
  951. //VB:          virtual Boolean isValueNotZero() const,,
  952. //VB:          valueId
  953. //VBAttribute: valueOutsideLimits,
  954. //VB:          "Query the valueOutsideLimits (Boolean) attribute.",
  955. //VB:          Boolean,
  956. //VB:          virtual Boolean isValueOutsideLimits() const,,
  957. //VB:          VBANYEVENT
  958. //VBAttribute: valueWithinLimits,
  959. //VB:          "Query the valueWithinLimits (Boolean) attribute.",
  960. //VB:          Boolean,
  961. //VB:          virtual Boolean isValueWithinLimits() const,,
  962. //VB:          VBANYEVENT
  963. //VBAttribute: valueZero,
  964. //VB:          "Query the valueZero (Boolean) attribute.",
  965. //VB:          Boolean,
  966. //VB:          virtual Boolean isValueZero() const,,
  967. //VB:          valueId
  968. //VBAttribute: lowLimit,
  969. //VB:          "Query the lowLimit (unsigned short) attribute.",
  970. //VB:          unsigned short,
  971. //VB:          virtual unsigned short lowLimit() const,
  972. //VB:          virtual IVBUnsignedShortPart& setLowLimit(unsigned short lowLimit = 0),
  973. //VB:          lowLimitId
  974. //VBAttribute: value,
  975. //VB:          "Query the value (unsigned short) attribute.",
  976. //VB:          unsigned short,
  977. //VB:          virtual unsigned short value() const,
  978. //VB:          virtual IVBUnsignedShortPart& setValue(),
  979. //VB:          valueId
  980. //VBAttribute: valueAs1Based,
  981. //VB:          "Query the valueAs1Based (unsigned short) attribute.",
  982. //VB:          unsigned short,
  983. //VB:          virtual unsigned short valueAs1Based() const,
  984. //VB:          virtual IVBUnsignedShortPart& setValueAs1Based(unsigned short valueAs1Based),
  985. //VB:          valueId
  986. //VB:          , NOSETTING
  987. //VBAttribute: valueAsText,
  988. //VB:          "Query the valueAsText (IString) attribute.",
  989. //VB:          IString,
  990. //VB:          virtual IString valueAsText() const,
  991. //VB:          virtual IVBUnsignedShortPart& setValueAsText(const IString* valueAsText),
  992. //VB:          valueId
  993. //VB:          , NOSETTING
  994. //VBAction: addValue
  995. //VB:       ,"Perform add operator on value.",,
  996. //VB:       virtual IVBUnsignedShortPart& addValue(unsigned short addValue = 1)
  997. //VBAction: andValue
  998. //VB:       ,"Perform and operator on value.",,
  999. //VB:       virtual IVBUnsignedShortPart& andValue(unsigned short andValue = 1)
  1000. //VBAction: assignValueToDefault
  1001. //VB:       ,"Assign the value attribute to false.",,
  1002. //VB:       virtual IVBUnsignedShortPart& assignValueToDefault()
  1003. //VBAction: assignValueToHighLimit
  1004. //VB:       ,"Assign value attribute to high limit ",,
  1005. //VB:       virtual IVBUnsignedShortPart& assignValueToHighLimit()
  1006. //VBAction: assignValueToLowLimit
  1007. //VB:       ,"Assign value attribute to low limit.",,
  1008. //VB:       virtual IVBUnsignedShortPart& assignValueToLowLimit()
  1009. //VBAction: assignValueToOne
  1010. //VB:       ,"Assign value attribute to 1 (true).",,
  1011. //VB:       virtual IVBUnsignedShortPart& assignValueToOne()
  1012. //VBAction: assignValueToRandom
  1013. //VB:       ,"Assign value to pseudo-random number ",,
  1014. //VB:       virtual IVBUnsignedShortPart& assignValueToRandom()
  1015. //VBAction: assignValueToZero
  1016. //VB:       ,"Assign value attribute to 0 (false).",,
  1017. //VB:       virtual IVBUnsignedShortPart& assignValueToZero()
  1018. //VBAction: copyValueToDefault
  1019. //VB:       ,"Copy value to default value.",,
  1020. //VB:       virtual IVBUnsignedShortPart& copyValueToDefault()
  1021. //VBAction: divideValue
  1022. //VB:       ,"Perform divide operator on value.",,
  1023. //VB:       virtual IVBUnsignedShortPart& divideValue(unsigned short divideValue = 2)
  1024. //VBAction: multiplyValue
  1025. //VB:       ,"Perform multiply operator on value.",,
  1026. //VB:       virtual IVBUnsignedShortPart& multiplyValue(unsigned short multiplyValue = 2)
  1027. //VBAction: operator !=
  1028. //VB:       ,, Boolean,
  1029. //VB:       Boolean operator !=(const IVBUnsignedShortPart& aValue) const
  1030. //VBAction: operator ==
  1031. //VB:       ,, Boolean,
  1032. //VB:       Boolean operator ==(const IVBUnsignedShortPart& aValue) const
  1033. //VBAction: orValue
  1034. //VB:       ,"Perform or operator on value.",,
  1035. //VB:       virtual IVBUnsignedShortPart& orValue(unsigned short orValue = 1)
  1036. //VBAction: squareValue
  1037. //VB:       ,"Square the value attribute.",,
  1038. //VB:       virtual IVBUnsignedShortPart& squareValue()
  1039. //VBAction: subtractValue
  1040. //VB:       ,,,
  1041. //VB:       virtual IVBUnsignedShortPart& subtractValue(unsigned short subtractValue = 1)
  1042. //VBPreferredFeatures: this, value, assignValueToZero, assignValueToOne, valueAsText, assignValueToDefault, addValue, lowLimit, highLimit, valueOutsideLimitsEvent, valueWithinLimitsEvent
  1043. //VBEndPartInfo: IVBUnsignedShortPart
  1044. //
  1045. //
  1046. //VBBeginPartInfo: IVBDoublePart, "IBM VB part support for Double data"
  1047. //VBParent: IVBDataTypePart
  1048. //VBIncludes: <ivbdbl.hpp> _IVBDBL_
  1049. //VBPartDataFile: 'VBSample.vbb'
  1050. //VBComposerInfo: nonvisual, 204, dde4vr30
  1051. //VBConstructor: IVBDoublePart (
  1052. //VB:  double value = 0.0
  1053. //VB:  )
  1054. //
  1055. //VBAttribute: defaultValue,
  1056. //VB:          "Query the defaultValue (double) attribute.",
  1057. //VB:          double,
  1058. //VB:          virtual double defaultValue() const,
  1059. //VB:          virtual IVBDoublePart& setDefaultValue(double defaultValue = 0),
  1060. //VB:          defaultValueId
  1061. //VBAttribute: highLimit,
  1062. //VB:          "Query the highLimit (double) attribute.",
  1063. //VB:          double,
  1064. //VB:          virtual double highLimit() const,
  1065. //VB:          virtual IVBDoublePart& setHighLimit(double highLimit = DBL_MAX),
  1066. //VB:          highLimitId
  1067. //VBAttribute: valueAboveHighLimit,
  1068. //VB:          "Query the valueAboveHighLimit (Boolean) attribute.",
  1069. //VB:          Boolean,
  1070. //VB:          virtual Boolean isValueAboveHighLimit() const,,
  1071. //VB:          VBANYEVENT
  1072. //VBAttribute: valueBelowLowLimit,
  1073. //VB:          "Query the valueBelowLowLimit (Boolean) attribute.",
  1074. //VB:          Boolean,
  1075. //VB:          virtual Boolean isValueBelowLowLimit() const,,
  1076. //VB:          VBANYEVENT
  1077. //VBAttribute: valueEqualDefault,
  1078. //VB:          "Query the valueEqualDefault (Boolean) attribute.",
  1079. //VB:          Boolean,
  1080. //VB:          virtual Boolean isValueEqualDefault() const,,
  1081. //VB:          VBANYEVENT
  1082. //VBAttribute: valueEqualHighLimit,
  1083. //VB:          "Query the valueEqualHighLimit (Boolean) attribute.",
  1084. //VB:          Boolean,
  1085. //VB:          virtual Boolean isValueEqualHighLimit() const,,
  1086. //VB:          VBANYEVENT
  1087. //VBAttribute: valueEqualLowLimit,
  1088. //VB:          "Query the valueEqualLowLimit (Boolean) attribute.",
  1089. //VB:          Boolean,
  1090. //VB:          virtual Boolean isValueEqualLowLimit() const,,
  1091. //VB:          VBANYEVENT
  1092. //VBAttribute: valueNegative,
  1093. //VB:          "Query the valueNegative (Boolean) attribute.",
  1094. //VB:          Boolean,
  1095. //VB:          virtual Boolean isValueNegative() const,,
  1096. //VB:          valueId
  1097. //VBAttribute: valueNotEqualDefault,
  1098. //VB:          "Query the valueNotEqualDefault (Boolean) attribute.",
  1099. //VB:          Boolean,
  1100. //VB:          virtual Boolean isValueNotEqualDefault() const,,
  1101. //VB:          VBANYEVENT
  1102. //VBAttribute: valueNotZero,
  1103. //VB:          "Query the valueNotZero (Boolean) attribute.",
  1104. //VB:          Boolean,
  1105. //VB:          virtual Boolean isValueNotZero() const,,
  1106. //VB:          valueId
  1107. //VBAttribute: valueOutsideLimits,
  1108. //VB:          "Query the valueOutsideLimits (Boolean) attribute.",
  1109. //VB:          Boolean,
  1110. //VB:          virtual Boolean isValueOutsideLimits() const,,
  1111. //VB:          VBANYEVENT
  1112. //VBAttribute: valuePositive,
  1113. //VB:          "Query the valuePositive (Boolean) attribute.",
  1114. //VB:          Boolean,
  1115. //VB:          virtual Boolean isValuePositive() const,,
  1116. //VB:          valueId
  1117. //VBAttribute: valueWithinLimits,
  1118. //VB:          "Query the valueWithinLimits (Boolean) attribute.",
  1119. //VB:          Boolean,
  1120. //VB:          virtual Boolean isValueWithinLimits() const,,
  1121. //VB:          VBANYEVENT
  1122. //VBAttribute: valueZero,
  1123. //VB:          "Query the valueZero (Boolean) attribute.",
  1124. //VB:          Boolean,
  1125. //VB:          virtual Boolean isValueZero() const,,
  1126. //VB:          valueId
  1127. //VBAttribute: lowLimit,
  1128. //VB:          "Query the lowLimit (double) attribute.",
  1129. //VB:          double,
  1130. //VB:          virtual double lowLimit() const,
  1131. //VB:          virtual IVBDoublePart& setLowLimit(double lowLimit = DBL_MIN),
  1132. //VB:          lowLimitId
  1133. //VBAttribute: value,
  1134. //VB:          "Query the value (double) attribute.",
  1135. //VB:          double,
  1136. //VB:          virtual double value() const,
  1137. //VB:          virtual IVBDoublePart& setValue(double value),
  1138. //VB:          valueId
  1139. //VBAttribute: valueAs1Based,
  1140. //VB:          "Query the valueAs1Based (double) attribute.",
  1141. //VB:          double,
  1142. //VB:          virtual double valueAs1Based() const,
  1143. //VB:          virtual IVBDoublePart& setValueAs1Based(double valueAs1Based),
  1144. //VB:          valueId
  1145. //VB:          , NOSETTING
  1146. //VBAttribute: valueAsText,
  1147. //VB:          "Query the valueAsText (IString) attribute.",
  1148. //VB:          IString,
  1149. //VB:          virtual IString valueAsText() const,
  1150. //VB:          virtual IVBDoublePart& setValueAsText(const IString& valueAsText),
  1151. //VB:          valueId
  1152. //VB:          , NOSETTING
  1153. //VBAction: addValue
  1154. //VB:       ,"Perform add operator on value.",,
  1155. //VB:       virtual IVBDoublePart& addValue(double addValue = 1)
  1156. //VBAction: assignValueToDefault
  1157. //VB:       ,"Assign the value attribute to false.",,
  1158. //VB:       virtual IVBDoublePart& assignValueToDefault()
  1159. //VBAction: assignValueToE
  1160. //VB:       ,"Assign value attribute to e.",,
  1161. //VB:       virtual IVBDoublePart& assignValueToE()
  1162. //VBAction: assignValueToHighLimit
  1163. //VB:       ,"Assign value attribute to high limit ",,
  1164. //VB:       virtual IVBDoublePart& assignValueToHighLimit()
  1165. //VBAction: assignValueToLowLimit
  1166. //VB:       ,"Assign value attribute to low limit.",,
  1167. //VB:       virtual IVBDoublePart& assignValueToLowLimit()
  1168. //VBAction: assignValueToOne
  1169. //VB:       ,"Assign value attribute to 1 (true).",,
  1170. //VB:       virtual IVBDoublePart& assignValueToOne()
  1171. //VBAction: assignValueToPI
  1172. //VB:       ,"Assign value attribute to PI.",,
  1173. //VB:       virtual IVBDoublePart& assignValueToPI()
  1174. //VBAction: assignValueToRandom
  1175. //VB:       ,"Assign value to pseudo-random number ",,
  1176. //VB:       virtual IVBDoublePart& assignValueToRandom()
  1177. //VBAction: assignValueToZero
  1178. //VB:       ,"Assign value attribute to 0 (false).",,
  1179. //VB:       virtual IVBDoublePart& assignValueToZero()
  1180. //VBAction: ceilValue
  1181. //VB:       ,"Perform ceil function on value.",,
  1182. //VB:       virtual IVBDoublePart& ceilValue()
  1183. //VBAction: copyValueToDefault
  1184. //VB:       ,"Copy value to default value.",,
  1185. //VB:       virtual IVBDoublePart& copyValueToDefault()
  1186. //VBAction: divideValue
  1187. //VB:       ,"Perform divide operator on value.",,
  1188. //VB:       virtual IVBDoublePart& divideValue(double divideValue = 2)
  1189. //VBAction: floorValue
  1190. //VB:       ,"Perform floor function on value.",,
  1191. //VB:       virtual IVBDoublePart& floorValue()
  1192. //VBAction: multiplyValue
  1193. //VB:       ,"Perform multiply operator on value.",,
  1194. //VB:       virtual IVBDoublePart& multiplyValue(double multiplyValue = 2)
  1195. //VBAction: operator !=
  1196. //VB:       ,, Boolean,
  1197. //VB:       Boolean operator !=(const IVBDoublePart& aValue) const
  1198. //VBAction: operator ==
  1199. //VB:       ,, Boolean,
  1200. //VB:       Boolean operator ==(const IVBDoublePart& aValue) const
  1201. //VBAction: squareValue
  1202. //VB:       ,"Square the value attribute.",,
  1203. //VB:       virtual IVBDoublePart& squareValue()
  1204. //VBAction: subtractValue
  1205. //VB:       ,,,
  1206. //VB:       virtual IVBDoublePart& subtractValue(double subtractValue = 1)
  1207. //VBPreferredFeatures: this, value, assignValueToZero, assignValueToOne, valueAsText, assignValueToDefault, addValue, lowLimit, highLimit, valueOutsideLimitsEvent, valueWithinLimitsEvent
  1208. //VBEndPartInfo: IVBDoublePart
  1209. //
  1210. //
  1211. //VBBeginPartInfo: IVBStringPart, "IBM VB part support for String data"
  1212. //VBParent: IVBDataTypePart
  1213. //VBIncludes: <ivbstrng.hpp> _IVBSTRNG_
  1214. //VBPartDataFile: 'VBSample.vbb'
  1215. //VBComposerInfo: nonvisual, 204, dde4vr30
  1216. //VBConstructor: IVBStringPart (
  1217. //VB:  const IString& text = IString()
  1218. //VB:  )
  1219. //
  1220. //VBAttribute: defaultText,
  1221. //VB:          "Query the defaultText (IString) attribute.",
  1222. //VB:          IString,
  1223. //VB:          virtual IString defaultText() const,
  1224. //VB:          virtual IVBStringPart& setDefaultText(const IString& defaultText = false),
  1225. //VB:          defaultTextId
  1226. //VBAttribute: digits,
  1227. //VB:          "Query the digits (Boolean) attribute.",
  1228. //VB:          Boolean,
  1229. //VB:          virtual Boolean isDigits() const,,
  1230. //VB:          textId
  1231. //VBAttribute: lowerCase,
  1232. //VB:          "Query the lowerCase (Boolean) attribute.",
  1233. //VB:          Boolean,
  1234. //VB:          virtual Boolean isLowerCase() const,,
  1235. //VB:          textId
  1236. //VBAttribute: textEqualDefault,
  1237. //VB:          "Query the textEqualDefault (Boolean) attribute.",
  1238. //VB:          Boolean,
  1239. //VB:          virtual Boolean isTextEqualDefault() const,,
  1240. //VB:          textId
  1241. //VBAttribute: textNotEqualDefault,
  1242. //VB:          "Query the textNotEqualDefault (Boolean) attribute.",
  1243. //VB:          Boolean,
  1244. //VB:          virtual Boolean isTextNotEqualDefault() const,,
  1245. //VB:          VBANYEVENT
  1246. //VBAttribute: upperCase,
  1247. //VB:          "Query the upperCase (Boolean) attribute.",
  1248. //VB:          Boolean,
  1249. //VB:          virtual Boolean isUpperCase() const,,
  1250. //VB:          textId
  1251. //VBAttribute: text,
  1252. //VB:          "Query the text (IString) attribute.",
  1253. //VB:          IString,
  1254. //VB:          virtual IString text() const,
  1255. //VB:          virtual IVBStringPart& setText(),
  1256. //VB:          textId
  1257. //VBAttribute: textAsLowerCase,
  1258. //VB:          "Query the textAsLowerCase (IString) attribute.",
  1259. //VB:          IString,
  1260. //VB:          virtual IString textAsLowerCase() const,,
  1261. //VB:          textId
  1262. //VBAttribute: textAsUpperCase,
  1263. //VB:          "Query the textAsUpperCase (IString) attribute.",
  1264. //VB:          IString,
  1265. //VB:          virtual IString textAsUpperCase() const,,
  1266. //VB:          textId
  1267. //VBAttribute: textLength,
  1268. //VB:          "Query the textLength (unsigned long) attribute.",
  1269. //VB:          unsigned long,
  1270. //VB:          virtual unsigned long textLength() const,,
  1271. //VB:          textLengthId
  1272. //VBAction: appendText
  1273. //VB:       ,"Append to the end of text.",,
  1274. //VB:       virtual IVBStringPart& appendText(const IString& appendText)
  1275. //VBAction: assignTextToCmdLineParm0
  1276. //VB:       ,"Set text to command line parm 0.",,
  1277. //VB:       virtual IVBStringPart& assignTextToCmdLineParm0()
  1278. //VBAction: assignTextToCmdLineParm1
  1279. //VB:       ,"Set text to command line parm 1.",,
  1280. //VB:       virtual IVBStringPart& assignTextToCmdLineParm1()
  1281. //VBAction: assignTextToDateToday
  1282. //VB:       ,"Assign text to today's date.",,
  1283. //VB:       virtual IVBStringPart& assignTextToDateToday()
  1284. //VBAction: assignTextToDefault
  1285. //VB:       ,"Assign the text attribute to false.",,
  1286. //VB:       virtual IVBStringPart& assignTextToDefault()
  1287. //VBAction: assignTextToEmpty
  1288. //VB:       ,"Assign text attribute to empty.",,
  1289. //VB:       virtual IVBStringPart& assignTextToEmpty()
  1290. //VBAction: assignTextToTimeNow
  1291. //VB:       ,"Assign text to time now.",,
  1292. //VB:       virtual IVBStringPart& assignTextToTimeNow()
  1293. //VBAction: changeTextToLowerCase
  1294. //VB:       ,"Change the text to lower case.",,
  1295. //VB:       virtual IVBStringPart& changeTextToLowerCase()
  1296. //VBAction: changeTextToUpperCase
  1297. //VB:       ,"Change the text to upper case.",,
  1298. //VB:       virtual IVBStringPart& changeTextToUpperCase()
  1299. //VBAction: operator !=
  1300. //VB:       ,, Boolean,
  1301. //VB:       Boolean operator !=(const IVBStringPart* aValue) const
  1302. //VBAction: operator ==
  1303. //VB:       ,, Boolean,
  1304. //VB:       Boolean operator ==(const IVBStringPart* aValue) const
  1305. //VBAction: preappendText
  1306. //VB:       ,"Add to the beginning of text.",,
  1307. //VB:       virtual IVBStringPart& preappendText(const IString& appendText)
  1308. //VBAction: reverseText
  1309. //VB:       ,"Perform reverse on text.",,
  1310. //VB:       virtual IVBStringPart& reverseText()
  1311. //VBAction: stripBlanksOnText
  1312. //VB:       ,"Strip blanks on text.",,
  1313. //VB:       virtual IVBStringPart& stripBlanksOnText()
  1314. //VBPreferredFeatures: this, text, textLength, textAsLowerCase, textAsUpperCase, appendText, changeTextToLowerCase, changeTextToUpperCase
  1315. //VBEndPartInfo: IVBStringPart
  1316. //
  1317. //VBBeginPartInfo: mathSamples,
  1318. //VB:              "math c library sample functions"
  1319. //VBPartDataFile: 'VBSample.vbb'
  1320. //VBComposerInfo: functions, 701, dde4vr30
  1321. //VBIncludes: <math.h>
  1322. //VBAction: acos,
  1323. //VB:       "acos calculates the arccosine of x, expressed in radians, in the range 0 to pi.",
  1324. //VB:       double,
  1325. //VB:       double acos(double x)
  1326. //VBAction: asin,
  1327. //VB:       "asin calculates the arcsine of x, in the range -pi/2 to pi/2 radians.",
  1328. //VB:       double,
  1329. //VB:       double asin(double x)
  1330. //VBAction: atan,
  1331. //VB:       "atan and atan2 calculate the arctangent of x and y/x, respectively.",
  1332. //VB:       double,
  1333. //VB:       double atan(double x)
  1334. //VBAction: _j0,
  1335. //VB:       "Bessel functions solve certain types of differential equations.",
  1336. //VB:       double,
  1337. //VB:       double _j0(double x)
  1338. //VBAction: _cabs,
  1339. //VB:       "_cabs calculates the absolute value of a complex number.",
  1340. //VB:       double,
  1341. //VB:       double _cabs(struct complex z)
  1342. //VBAction: ceil,
  1343. //VB:       "ceil computes the smallest integer that is greater than or equal to x.",
  1344. //VB:       double,
  1345. //VB:       double ceil(double x)
  1346. //VBAction: cos,
  1347. //VB:       "cos calculates the cosine of x.",
  1348. //VB:       double,
  1349. //VB:       double cos(double x)
  1350. //VBAction: cosh,
  1351. //VB:       "cosh calculates the hyperbolic cosine of x.",
  1352. //VB:       double,
  1353. //VB:       double cosh(double x)
  1354. //VBAction: erf,
  1355. //VB:       "erf calculates the error function.",
  1356. //VB:       double,
  1357. //VB:       double erf(double x)
  1358. //VBAction: exp,
  1359. //VB:       "exp calculates the exponential function of a floating-point argument x (e to the exponent x, where e equals 2.",
  1360. //VB:       double,
  1361. //VB:       double exp(double x)
  1362. //VBAction: fabs,
  1363. //VB:       "fabs calculates the absolute value of the floating-point argument x.",
  1364. //VB:       double,
  1365. //VB:       double fabs(double x)
  1366. //VBAction: floor,
  1367. //VB:       "floor calculates the largest integer that is less than or equal to x.",
  1368. //VB:       double,
  1369. //VB:       double floor(double x)
  1370. //VBAction: fmod,
  1371. //VB:       "fmod calculates the floating-point remainder of x/y.",
  1372. //VB:       double,
  1373. //VB:       double fmod(double x, double y)
  1374. //VBAction: frexp,
  1375. //VB:       "fscanf reads data from the current position of the specified stream into the locations given by the entries in argument-list, if any.",
  1376. //VB:       double,
  1377. //VB:       double frexp(double x, int* expptr)
  1378. //VBAction: gamma,
  1379. //VB:       "gamma computes ln( |G(x)| ).",
  1380. //VB:       double,
  1381. //VB:       double gamma(double x)
  1382. //VBAction: hypot,
  1383. //VB:       "hypot calculates the length of the hypotenuse of a right-angled triangle based on the lengths of two sides side1 and side2.",
  1384. //VB:       double,
  1385. //VB:       double hypot(double side1, double side2)
  1386. //VBAction: ldexp,
  1387. //VB:       "ldexp calculates the value of x * (2**exp).",
  1388. //VB:       double,
  1389. //VB:       double ldexp(double x, int exp)
  1390. //VBAction: log,
  1391. //VB:       "log calculates the natural logarithm (base e) of x.",
  1392. //VB:       double,
  1393. //VB:       double log(double x)
  1394. //VBAction: log10,
  1395. //VB:       "log10 calculates the base 10 logarithm of x.",
  1396. //VB:       double,
  1397. //VB:       double log10(double x)
  1398. //VBAction: _matherr,
  1399. //VB:       "_matherr processes errors generated by the functions in the math library.",
  1400. //VB:       int,
  1401. //VB:       int _matherr(struct exception* x)
  1402. //VBAction: modf,
  1403. //VB:       "modf breaks down the floating-point value x into fractional and integral parts.",
  1404. //VB:       double,
  1405. //VB:       double modf(double x, double* intptr)
  1406. //VBAction: pow,
  1407. //VB:       "pow calculates the value of x to the power of y.",
  1408. //VB:       double,
  1409. //VB:       double pow(double x, double y)
  1410. //VBAction: sin,
  1411. //VB:       "sin calculates the sine of x, with x expressed in radians.",
  1412. //VB:       double,
  1413. //VB:       double sin(double x)
  1414. //VBAction: sinh,
  1415. //VB:       "sinh calculates the hyperbolic sine of x, with x expressed in radians.",
  1416. //VB:       double,
  1417. //VB:       double sinh(double x)
  1418. //VBAction: sqrt,
  1419. //VB:       "sqrt calculates the nonnegative value of the square root of x.",
  1420. //VB:       double,
  1421. //VB:       double sqrt(double x)
  1422. //VBAction: tan,
  1423. //VB:       "tan calculates the tangent of x, where x is expressed in radians.",
  1424. //VB:       double,
  1425. //VB:       double tan(double x)
  1426. //VBAction: tanh,
  1427. //VB:       "tanh calculates the hyperbolic tangent of x, where x is expressed in radians.",
  1428. //VB:       double,
  1429. //VB:       double tanh(double x)
  1430. //VBPreferredFeatures: sin, cos, tan, sqrt, pow, ceil, floor
  1431. //VBEndPartInfo: mathSamples
  1432. //
  1433. //VBBeginPartInfo: floatSamples,
  1434. //VB:              "float c library sample functions"
  1435. //VBPartDataFile: 'VBSample.vbb'
  1436. //VBComposerInfo: functions, 701, dde4vr30
  1437. //VBIncludes: <float.h>
  1438. //VBAction: _clear87,
  1439. //VB:       "_clear87 gets the floating-point status word and then clears it.",
  1440. //VB:       unsigned int,
  1441. //VB:       unsigned int _clear87()
  1442. //VBAction: _control87,
  1443. //VB:       "_control87 gets the current floating-point control word and then sets it.",
  1444. //VB:       unsigned int,
  1445. //VB:       unsigned int _control87(unsigned int new, unsigned int mask)
  1446. //VBAction: _fpreset,
  1447. //VB:       "_fpreset resets the floating-point unit to the default state that the math library requires to function correctly.",,
  1448. //VB:       void _fpreset()
  1449. //VBAction: _status87,
  1450. //VB:       "_status87 gets the current floating-point status word.",
  1451. //VB:       unsigned int,
  1452. //VB:       unsigned int _status87()
  1453. //VBPreferredFeatures: _clear87, _control87, _fpreset, _status87
  1454. //VBEndPartInfo: floatSamples
  1455. //
  1456. //VBBeginPartInfo: stdlibSamples,
  1457. //VB:              "standard c library sample functions"
  1458. //VBPartDataFile: 'VBSample.vbb'
  1459. //VBComposerInfo: functions, 701, dde4vr30
  1460. //VBIncludes: <stdlib.h>
  1461. //VBAction: abort,
  1462. //VB:       "abort causes an abnormal program termination and returns control to the host environment.",,
  1463. //VB:       void abort()
  1464. //VBAction: abs,
  1465. //VB:       "abs returns the absolute value of an integer argument n.",
  1466. //VB:       int,
  1467. //VB:       int abs(int n)
  1468. //VBAction: _alloca,
  1469. //VB:       "_alloca is a built-in function that temporarily allocates size bytes of storage space from the program's stack.",,
  1470. //VB:       void _alloca(size_t size)
  1471. //VBAction: atof,
  1472. //VB:       "atof converts a character string to a double-precision floating-point value.",
  1473. //VB:       double,
  1474. //VB:       double atof(const char* string)
  1475. //VBAction: atoi,
  1476. //VB:       "atoi converts a character string to an integer value.",
  1477. //VB:       int,
  1478. //VB:       int atoi(const char* string)
  1479. //VBAction: atol,
  1480. //VB:       "atol converts a character string to a long value.",
  1481. //VB:       long int,
  1482. //VB:       long int atol(const char* string)
  1483. //VBAction: _atold,
  1484. //VB:       "_atold converts a character string pointed to by nptr to a long double value.",
  1485. //VB:       long double,
  1486. //VB:       long double _atold(const char* nptr)
  1487. //VBAction: calloc,
  1488. //VB:       "calloc reserves storage space for an array of num elements, each of length size bytes.",,
  1489. //VB:       void calloc(size_t num, size_t size)
  1490. //VBAction: _crotl,
  1491. //VB:       "The _crotl and _crotr functions rotate the character value by shift bits.",
  1492. //VB:       unsigned char,
  1493. //VB:       unsigned char _crotl(unsigned char value, int shift)
  1494. //VBAction: csid,
  1495. //VB:       "csid queries the locale and determines the character-set identifier for the specified character c.",
  1496. //VB:       int,
  1497. //VB:       int csid(const char* c)
  1498. //VBAction: _debug_calloc,
  1499. //VB:       "_debug_calloc is the debug version of calloc.",,
  1500. //VB:       void _debug_calloc(size_t num, size_t size, const char* file, size_t line)
  1501. //VBAction: _debug_free,
  1502. //VB:       "_debug_free is the debug version of free.",,
  1503. //VB:       void _debug_free(void* ptr, const char* file, size_t line)
  1504. //VBAction: _debug_heapmin,
  1505. //VB:       "_debug_heapmin is the debug version of _heapmin.",
  1506. //VB:       int,
  1507. //VB:       int _debug_heapmin(const char* file, size_t line)
  1508. //VBAction: _debug_malloc,
  1509. //VB:       "_debug_malloc is the debug version of malloc.",,
  1510. //VB:       void _debug_malloc(size_t size, const char* file, size_t line)
  1511. //VBAction: _debug_realloc,
  1512. //VB:       "_debug_realloc is the debug version of realloc.",,
  1513. //VB:       void _debug_realloc(void* ptr, size_t size, const char* file, size_t line)
  1514. //VBAction: _debug_tcalloc,
  1515. //VB:       "_debug_tcalloc is the debug version of _tcalloc.",,
  1516. //VB:       void _debug_tcalloc(size_t num, size_t size, const char* file, size_t line)
  1517. //VBAction: _debug_tfree,
  1518. //VB:       "_debug_tfree is the debug version of _tfree.",,
  1519. //VB:       void _debug_tfree(void* ptr, const char* file, size_t line)
  1520. //VBAction: _debug_theapmin,
  1521. //VB:       "_debug_theapmin is the debug version of _theapmin.",
  1522. //VB:       int,
  1523. //VB:       int _debug_theapmin(const char* file, size_t line)
  1524. //VBAction: _debug_tmalloc,
  1525. //VB:       "_debug_tmalloc is the debug version of _tmalloc.",,
  1526. //VB:       void _debug_tmalloc(size_t size, const char* file, size_t line)
  1527. //VBAction: _debug_trealloc,
  1528. //VB:       "The _debug_trealloc function is the debug version of _trealloc.",,
  1529. //VB:       void _debug_trealloc(void* ptr, size_t size, const char* file, size_t line)
  1530. //VBAction: div,
  1531. //VB:       "div calculates the quotient and remainder of the division of numerator by denominator.",
  1532. //VB:       div_t,
  1533. //VB:       div_t div(int numerator, int denominator)
  1534. //VBAction: _dump_allocated_delta,
  1535. //VB:       "dup associates a second file handle with a currently open file.",,
  1536. //VB:       void _dump_allocated_delta(int nbytes)
  1537. //VBAction: _ecvt,
  1538. //VB:       "_ecvt converts the floating-point number value to a character string.",
  1539. //VB:       char*,
  1540. //VB:       char _ecvt(double value, int ndigits, int* decptr, int* signptr)
  1541. //VBAction: _endthread,
  1542. //VB:       "_endthread ends a thread that you previously created with _beginthread.",,
  1543. //VB:       void _endthread()
  1544. //VBAction: exit,
  1545. //VB:       "exit returns control to the host environment from the program.",,
  1546. //VB:       void exit(int status)
  1547. //VBAction: _exit,
  1548. //VB:       "_exit ends the calling process without calling functions registered by _onexit or atexit.",,
  1549. //VB:       void _exit(int status)
  1550. //VBAction: _fcvt,
  1551. //VB:       "_fcvt converts the floating-point number value to a character string.",
  1552. //VB:       char*,
  1553. //VB:       char _fcvt(double value, int ndec, int* decptr, int* signptr)
  1554. //VBAction: free,
  1555. //VB:       "free frees a block of storage.",,
  1556. //VB:       void free(void* ptr)
  1557. //VBAction: _freemod,
  1558. //VB:       "_freemod frees all references to a dynamic link library (DLL) for the calling process.",
  1559. //VB:       int,
  1560. //VB:       int _freemod(unsigned long module_handle)
  1561. //VBAction: _fullpath,
  1562. //VB:       "_fullpath gets the full path name of the given partial path name partialpath, and stores it in pathbuf.",
  1563. //VB:       char*,
  1564. //VB:       char _fullpath(char* pathbuf, char* partialpath, size_t n)
  1565. //VBAction: _gcvt,
  1566. //VB:       "_gcvt converts a floating-point value to a character string pointed to by buffer.",
  1567. //VB:       char*,
  1568. //VB:       char _gcvt(double value, int ndec, char* buffer)
  1569. //VBAction: getenv,
  1570. //VB:       "getenv searches the list of environment variables for an entry corresponding to varname.",
  1571. //VB:       char*,
  1572. //VB:       char getenv(const char* varname)
  1573. //VBAction: _heap_check,
  1574. //VB:       "_heapchk checks the default storage heap for minimal consistency by checking all allocated and freed objects on the heap.",,
  1575. //VB:       void _heap_check()
  1576. //VBAction: _heapmin,
  1577. //VB:       "_heapmin returns all unused memory from the default runtime heap to the operating system.",
  1578. //VB:       int,
  1579. //VB:       int _heapmin()
  1580. //VBAction: _itoa,
  1581. //VB:       "_itoa converts the digits of the given value to a character string that ends with a null character and stores the result in string.",
  1582. //VB:       char*,
  1583. //VB:       char _itoa(int value, char*  string, int radix)
  1584. //VBAction: labs,
  1585. //VB:       "labs produces the absolute value of its long integer argument n.",
  1586. //VB:       long int,
  1587. //VB:       long int labs(long int n)
  1588. //VBAction: ldiv,
  1589. //VB:       "ldiv calculates the quotient and remainder of the division of numerator by denominator.",
  1590. //VB:       ldiv_t,
  1591. //VB:       ldiv_t ldiv(long int numerator, long int denominator)
  1592. //VBAction: _loadmod,
  1593. //VB:       "_loadmod loads a dynamic link library (DLL) for the calling process.",
  1594. //VB:       int,
  1595. //VB:       int _loadmod(char* module_name, unsigned long* module_handle)
  1596. //VBAction: _lrotl,
  1597. //VB:       "_lrotl and _lrotr rotate the unsigned long integer value by shift bits.",
  1598. //VB:       unsigned long,
  1599. //VB:       unsigned long _lrotl(unsigned long value, int shift)
  1600. //VBAction: _ltoa,
  1601. //VB:       "_ltoa converts the digits of the given long integer value to a character string that ends with a null character and stores the result in string.",
  1602. //VB:       char*,
  1603. //VB:       char _ltoa(long value, char* string, int radix)
  1604. //VBAction: _makepath,
  1605. //VB:       "_makepath creates a single path name, composed of a drive letter, directory path, file name, and file name extension.",,
  1606. //VB:       void _makepath(char* path, char* drive, char* dir, char* fname, char* ext)
  1607. //VBAction: malloc,
  1608. //VB:       "malloc reserves a block of storage of size bytes.",,
  1609. //VB:       void malloc(size_t size)
  1610. //VBAction: mblen,
  1611. //VB:       "mblen determines the length in bytes of the multibyte character pointed to by string.",
  1612. //VB:       int,
  1613. //VB:       int mblen(const char* string, size_t n)
  1614. //VBAction: mbstowcs,
  1615. //VB:       "mbstowcs converts the multibyte character string pointed to by string into the wide-character array pointed to by dest.",
  1616. //VB:       size_t,
  1617. //VB:       size_t mbstowcs(wchar_t* dest, const char* string, size_t len)
  1618. //VBAction: mbtowc,
  1619. //VB:       "mbtowc first determines the length of the multibyte character pointed to by string.",
  1620. //VB:       int,
  1621. //VB:       int mbtowc(wchar_t* pwc, const char* string, size_t n)
  1622. //VBAction: _msize,
  1623. //VB:       "_msize determines the number of bytes that were allocated to the pointer argument ptr.",
  1624. //VB:       size_t,
  1625. //VB:       size_t _msize(void* ptr)
  1626. //VBAction: _onexit,
  1627. //VB:       "_onexit records the address of a function func to call when the program ends normally.",
  1628. //VB:       onexit_t,
  1629. //VB:       onexit_t _onexit(onexit_t func)
  1630. //VBAction: __parmdwords,
  1631. //VB:       "The __parmdwords function returns the hidden parameter passed in the AL register for _System linkage calls.",
  1632. //VB:       unsigned char,
  1633. //VB:       unsigned char __parmdwords()
  1634. //VBAction: putenv,
  1635. //VB:       "putenv adds new environment variables or modifies the values of existing environment variables.",
  1636. //VB:       int,
  1637. //VB:       int putenv(char* envstring)
  1638. //VBAction: rand,
  1639. //VB:       "rand generates a pseudo-random integer in the range 0 to RAND_MAX (macro defined in <stdlib.",
  1640. //VB:       int,
  1641. //VB:       int rand()
  1642. //VBAction: realloc,
  1643. //VB:       "realloc changes the size of a previously reserved storage block.",,
  1644. //VB:       void realloc(void* ptr, size_t size)
  1645. //VBAction: _rotl,
  1646. //VB:       "These functions take a 4-byte integer value and rotate it by shift bits.",
  1647. //VB:       unsigned int,
  1648. //VB:       unsigned int _rotl(unsigned int value, int shift)
  1649. //VBAction: rpmatch,
  1650. //VB:       "scanf reads data from the standard input stream stdin into the locations given by each entry in argument-list.",
  1651. //VB:       int,
  1652. //VB:       int rpmatch(const char* response)
  1653. //VBAction: _searchenv,
  1654. //VB:       "_searchenv searches for the target file in the specified domain.",,
  1655. //VB:       void _searchenv(char* name, char* env_var, char* path)
  1656. //VBAction: _splitpath,
  1657. //VB:       "_splitpath decomposes an existing path name path into its four components.",,
  1658. //VB:       void _splitpath(char* path, char* drive, char* dir, char* fname, char* ext)
  1659. //VBAction: srand,
  1660. //VB:       "srand sets the starting point for producing a series of pseudo-random integers.",,
  1661. //VB:       void srand(unsigned int seed)
  1662. //VBAction: strtod,
  1663. //VB:       "strtod converts a character string to a double-precision value.",
  1664. //VB:       double,
  1665. //VB:       double strtod(const char* nptr, char** endptr)
  1666. //VBAction: strtol,
  1667. //VB:       "strtol converts a character string to a long-integer value.",
  1668. //VB:       long int,
  1669. //VB:       long int strtol(const char* nptr, char** endptr, int base)
  1670. //VBAction: strtold,
  1671. //VB:       "strtold converts a character string pointed to by nptr to a long double value.",
  1672. //VB:       long double,
  1673. //VB:       long double strtold(const char* nptr, char** endptr)
  1674. //VBAction: swab,
  1675. //VB:       "swab copies n bytes from source, swaps each pair of adjacent bytes, and stores the result at destination.",,
  1676. //VB:       void swab(char* source, char* destination, int n)
  1677. //VBAction: system,
  1678. //VB:       "system passes the command string to a command processor to be run.",
  1679. //VB:       int,
  1680. //VB:       int system(char* string)
  1681. //VBAction: _tcalloc,
  1682. //VB:       "_tcalloc allocates tiled memory for an array of number elements, each of length size bytes, and initializes all bits of each element to 0.",,
  1683. //VB:       void _tcalloc(size_t number, size_t size)
  1684. //VBAction: _tdump_allocated_delta,
  1685. //VB:       "_tell gets the current position of the file pointer associated with handle.",,
  1686. //VB:       void _tdump_allocated_delta(int nbytes)
  1687. //VBAction: _tfree,
  1688. //VB:       "_tfree frees the tiled memory pointed to by ptr that has been allocated by one of the memory management functions.",,
  1689. //VB:       void _tfree(void* ptr)
  1690. //VBAction: _theapmin,
  1691. //VB:       "_theapmin returns all unused tiled memory from the runtime heap to the operating system.",
  1692. //VB:       int,
  1693. //VB:       int _theapmin()
  1694. //VBAction: _threadstore,
  1695. //VB:       "_threadstore provides access to a private thread pointer that is initialized to NULL.",,
  1696. //VB:       void _threadstore()
  1697. //VBAction: _tmalloc,
  1698. //VB:       "_tmalloc allocates tiled memory for an object of size size, the value of which is indeterminate.",,
  1699. //VB:       void _tmalloc(size_t size)
  1700. //VBAction: _trealloc,
  1701. //VB:       "_trealloc changes the size of the tiled memory pointed to ptr to the specified size, in bytes.",,
  1702. //VB:       void _trealloc(void* ptr, size_t size)
  1703. //VBAction: _ultoa,
  1704. //VB:       "_ultoa converts the digits of the given unsigned long value to a null-terminated character string and stores the result in string.",
  1705. //VB:       char*,
  1706. //VB:       char _ultoa(unsigned long value, char* string, int radix)
  1707. //VBAction: wcsid,
  1708. //VB:       "wcsid determines the character set identifier for the specified wide character wc.",
  1709. //VB:       int,
  1710. //VB:       int wcsid(const wchar_t c)
  1711. //VBAction: wcstombs,
  1712. //VB:       "wcstombs converts the wide-character string pointed to by string into the multibyte array pointed to by dest.",
  1713. //VB:       size_t,
  1714. //VB:       size_t wcstombs(char* dest, const wchar_t* string, size_t n)
  1715. //VBAction: wctomb,
  1716. //VB:       "wctomb converts the wide character wc into a multibyte character and stores it in the location pointed to by string.",
  1717. //VB:       int,
  1718. //VB:       int wctomb(char* string, wchar_t wc)
  1719. //VBPreferredFeatures: abort, abs, system, exit, rand, getenv
  1720. //VBEndPartInfo: stdlibSamples
  1721. //
  1722. //VBBeginTypedefInfo: size_t
  1723. //VBIncludes: <stdlib.h>
  1724. //VBPartDataFile: 'VBSample.vbb'
  1725. //VBEndTypedefInfo: size_t
  1726. //
  1727. //VBBeginPartInfo: ioSamples,
  1728. //VB:              "io c library sample functions"
  1729. //VBPartDataFile: 'VBSample.vbb'
  1730. //VBComposerInfo: functions, 701, dde4vr30
  1731. //VBIncludes: <io.h>
  1732. //VBAction: access,
  1733. //VB:       "access determines whether the specified file exists and whether you can get access to it in the given mode.",
  1734. //VB:       int,
  1735. //VB:       int access(char* pathname, int mode)
  1736. //VBAction: chmod,
  1737. //VB:       "chmod changes the permission setting of the file specified by pathname.",
  1738. //VB:       int,
  1739. //VB:       int chmod(char* pathname, int pmode)
  1740. //VBAction: _chsize,
  1741. //VB:       "_chsize lengthens or cuts off the file associated with handle to the length specified by size.",
  1742. //VB:       int,
  1743. //VB:       int _chsize(int handle, long size)
  1744. //VBAction: close,
  1745. //VB:       "close closes the file associated with the handle.",
  1746. //VB:       int,
  1747. //VB:       int close(int handle)
  1748. //VBAction: creat,
  1749. //VB:       "creat either creates a new file or opens and truncates an existing file.",
  1750. //VB:       int,
  1751. //VB:       int creat(char* pathname, int pmode)
  1752. //VBAction: dup,
  1753. //VB:       "dup associates a second file handle with a currently open file.",
  1754. //VB:       int,
  1755. //VB:       int dup(int handle)
  1756. //VBAction: dup2,
  1757. //VB:       "dup2 makes handle2 refer to the currently open file associated with handle1.",
  1758. //VB:       int,
  1759. //VB:       int dup2(int handle1, int handle2)
  1760. //VBAction: __eof,
  1761. //VB:       "__eof determines whether the file pointer has reached the end-of-file for the file associated with handle.",
  1762. //VB:       int,
  1763. //VB:       int __eof(int handle)
  1764. //VBAction: _filelength,
  1765. //VB:       "_filelength returns the length, in bytes, of the file associated with handle.",
  1766. //VB:       long,
  1767. //VB:       long _filelength(int handle)
  1768. //VBAction: isatty,
  1769. //VB:       "isatty determines whether the given handle is associated with a character device (a keyboard, display, or printer or serial port).",
  1770. //VB:       int,
  1771. //VB:       int isatty(int handle)
  1772. //VBAction: lseek,
  1773. //VB:       "lseek moves any file pointer associated with handle to a new location that is offset bytes from the origin.",
  1774. //VB:       long,
  1775. //VB:       long lseek(int handle, long offset, int origin)
  1776. //VBAction: open,
  1777. //VB:       "open opens the file specified by pathname and prepares the file for subsequent reading or writing as defined by oflag.",
  1778. //VB:       int,
  1779. //VB:       int open(char* pathname, int oflag, int pmode)
  1780. //VBAction: read,
  1781. //VB:       "read reads count bytes from the file associated with handle into buffer.",
  1782. //VB:       int,
  1783. //VB:       int read(int handle, char* buffer, unsigned int count)
  1784. //VBAction: _setmode,
  1785. //VB:       "_setmode sets the translation mode of the file given by handle to mode.",
  1786. //VB:       int,
  1787. //VB:       int _setmode(int handle, int mode)
  1788. //VBAction: _sopen,
  1789. //VB:       "_sopen opens the file specified by pathname and prepares the file for subsequent shared reading or writing as defined by oflag and shflag.",
  1790. //VB:       int,
  1791. //VB:       int _sopen(char* pathname, int oflag, int shflag , int pmode)
  1792. //VBAction: _tell,
  1793. //VB:       "_tell gets the current position of the file pointer associated with handle.",
  1794. //VB:       long,
  1795. //VB:       long _tell(int handle)
  1796. //VBAction: umask,
  1797. //VB:       "umask sets the file permission mask of the environment for the currently running process to the mode specified by pmode.",
  1798. //VB:       int,
  1799. //VB:       int umask(int pmode)
  1800. //VBAction: write,
  1801. //VB:       "write writes count bytes from buffer into the file associated with handle.",
  1802. //VB:       int,
  1803. //VB:       int write(int handle, const void* buffer, unsigned int count)
  1804. //VBPreferredFeatures: access, open, read, write, close
  1805. //VBEndPartInfo: ioSamples
  1806. //
  1807. //VBBeginPartInfo: stdioSamples,
  1808. //VB:              "stdio c library sample functions"
  1809. //VBPartDataFile: 'VBSample.vbb'
  1810. //VBComposerInfo: functions, 701, dde4vr30
  1811. //VBIncludes: <stdio.h>
  1812. //VBAction: fclose,
  1813. //VB:       "fclose closes a stream pointed to by stream.",
  1814. //VB:       int,
  1815. //VB:       int fclose(FILE* stream)
  1816. //VBAction: _fcloseall,
  1817. //VB:       "_fcloseall closes all open streams, except stdin, stdout, and stderr.",
  1818. //VB:       int,
  1819. //VB:       int _fcloseall()
  1820. //VBAction: fdopen,
  1821. //VB:       "fdopen associates an input or output stream with the file identified by handle.",
  1822. //VB:       FILE*,
  1823. //VB:       FILE fdopen(int handle, char* type)
  1824. //VBAction: feof,
  1825. //VB:       "feof indicates whether the end-of-file flag is set for the given stream.",
  1826. //VB:       int,
  1827. //VB:       int feof(FILE* stream)
  1828. //VBAction: ferror,
  1829. //VB:       "ferror tests for an error in reading from or writing to the given stream.",
  1830. //VB:       int,
  1831. //VB:       int ferror(FILE* stream)
  1832. //VBAction: fflush,
  1833. //VB:       "fflush causes the system to empty the buffer associated with the specified output stream, if possible.",
  1834. //VB:       int,
  1835. //VB:       int fflush(FILE* stream)
  1836. //VBAction: _fgetchar,
  1837. //VB:       "_fgetchar reads a single character from the stdin stream.",
  1838. //VB:       int,
  1839. //VB:       int _fgetchar()
  1840. //VBAction: fgetpos,
  1841. //VB:       "fgetpos stores the current position of the file pointer associated with stream into the object pointed to by pos.",
  1842. //VB:       int,
  1843. //VB:       int fgetpos(FILE* stream, fpos_t* pos)
  1844. //VBAction: fgetws,
  1845. //VB:       "fgetws reads wide characters from the stream into the array pointed to by wcs.",
  1846. //VB:       wchar_t*,
  1847. //VB:       wchar_t fgetws(wchar_t* wcs, int n, FILE* stream)
  1848. //VBAction: fileno,
  1849. //VB:       "fileno determines the file handle currently associated with stream.",
  1850. //VB:       int,
  1851. //VB:       int fileno(FILE* stream)
  1852. //VBAction: _flushall,
  1853. //VB:       "_flushall causes the system to write to file the contents of all buffers associated with open output streams (including stdin, stdout, and stderr).",
  1854. //VB:       int,
  1855. //VB:       int _flushall()
  1856. //VBAction: fopen,
  1857. //VB:       "fopen opens the file specified by filename.",
  1858. //VB:       FILE*,
  1859. //VB:       FILE fopen(const char* filename, const char* mode)
  1860. //VBAction: fputc,
  1861. //VB:       "fputc converts c to an unsigned char and then writes c to the output stream at the current position and advances the file position appropriately.",
  1862. //VB:       int,
  1863. //VB:       int fputc(int c, FILE* stream)
  1864. //VBAction: _fputchar,
  1865. //VB:       "_fputchar writes the single character c to the stdout stream at the current position.",
  1866. //VB:       int,
  1867. //VB:       int _fputchar(int c)
  1868. //VBAction: fputs,
  1869. //VB:       "fputs copies string to the output stream at the current position.",
  1870. //VB:       int,
  1871. //VB:       int fputs(const char* string, FILE* stream)
  1872. //VBAction: fputwc,
  1873. //VB:       "fputwc converts the wide character wc to a multibyte character and writes it to the output stream pointed to by stream at the current position.",
  1874. //VB:       wint_t,
  1875. //VB:       wint_t fputwc(wint_t wc, FILE* stream)
  1876. //VBAction: fputws,
  1877. //VB:       "fputws converts the wide-character string wcs to a multibyte-character string and writes it to stream as a multibyte character string.",
  1878. //VB:       int,
  1879. //VB:       int fputws(const wchar_t* wcs, FILE* stream)
  1880. //VBAction: fread,
  1881. //VB:       "fread reads up to count items of size length from the input stream and stores them in the given buffer.",
  1882. //VB:       size_t,
  1883. //VB:       size_t fread(void* buffer, size_t size, size_t count, FILE* stream)
  1884. //VBAction: freopen,
  1885. //VB:       "freopen closes the file currently associated with stream and reassigns stream to the file specified by filename.",
  1886. //VB:       FILE*,
  1887. //VB:       FILE freopen(const char* filename, const char* mode, FILE* stream)
  1888. //VBAction: fseek,
  1889. //VB:       "fseek changes the current file position associated with stream to a new location within the file.",
  1890. //VB:       int,
  1891. //VB:       int fseek(FILE* stream, long int offset, int origin)
  1892. //VBAction: fsetpos,
  1893. //VB:       "fsetpos moves any file position associated with stream to a new location within the file according to the value pointed to by pos.",
  1894. //VB:       int,
  1895. //VB:       int fsetpos(FILE* stream, const fpos_t* pos)
  1896. //VBAction: ftell,
  1897. //VB:       "ftell finds the current position of the file associated with stream.",
  1898. //VB:       long int,
  1899. //VB:       long int ftell(FILE* stream)
  1900. //VBAction: fwrite,
  1901. //VB:       "fwrite writes up to count items, each of size bytes in length, from buffer to the output stream.",
  1902. //VB:       size_t,
  1903. //VB:       size_t fwrite(const void* buffer, size_t size, size_t count, FILE* stream)
  1904. //VBAction: getc,
  1905. //VB:       "getc reads a single character from the current stream position and advances the stream position to the next character.",
  1906. //VB:       int,
  1907. //VB:       int getc(FILE* stream)
  1908. //VBAction: gets,
  1909. //VB:       "gets reads a line from the standard input stream stdin and stores it in buffer.",
  1910. //VB:       char*,
  1911. //VB:       char gets(char* buffer)
  1912. //VBAction: getwc,
  1913. //VB:       "getwc reads the next multibyte character from stream, converts it to a wide character, and advances the associated file position indicator for stream.",
  1914. //VB:       wint_t,
  1915. //VB:       wint_t getwc(FILE* stream)
  1916. //VBAction: perror,
  1917. //VB:       "perror prints an error message to stderr.",,
  1918. //VB:       void perror(const char* string)
  1919. //VBAction: putc,
  1920. //VB:       "putc converts c to unsigned char and then writes c to the output stream at the current position.",
  1921. //VB:       int,
  1922. //VB:       int putc(int c, FILE* stream)
  1923. //VBAction: putchar,
  1924. //VB:       "putchar is equivalent to putc(c, stdout).",
  1925. //VB:       int,
  1926. //VB:       int putchar(int c)
  1927. //VBAction: puts,
  1928. //VB:       "puts writes the given string to the standard output stream stdout;  it also appends a new-line character to the output.",
  1929. //VB:       int,
  1930. //VB:       int puts(const char* string)
  1931. //VBAction: putwc,
  1932. //VB:       "putwc converts the wide character wc to a multibyte character, and writes it to the stream at the current position.",
  1933. //VB:       wint_t,
  1934. //VB:       wint_t putwc(wint_t wc, FILE* stream)
  1935. //VBAction: remove,
  1936. //VB:       "remove deletes the file specified by filename.",
  1937. //VB:       int,
  1938. //VB:       int remove(const char* filename)
  1939. //VBAction: rename,
  1940. //VB:       "rename renames the file specified by oldname to the name given by newname.",
  1941. //VB:       int,
  1942. //VB:       int rename(const char* oldname, const char* newname)
  1943. //VBAction: rewind,
  1944. //VB:       "rewind repositions the file pointer associated with stream to the beginning of the file.",,
  1945. //VB:       void rewind(FILE* stream)
  1946. //VBAction: _rmtmp,
  1947. //VB:       "_rmtmp closes and deletes all temporary files in all directories that are held open by the calling process.",
  1948. //VB:       int,
  1949. //VB:       int _rmtmp()
  1950. //VBAction: setbuf,
  1951. //VB:       "setbuf controls buffering for the specified stream.",,
  1952. //VB:       void setbuf(FILE* stream, char* buffer)
  1953. //VBAction: _set_crt_msg_handle,
  1954. //VB:       "_set_crt_msg_handle changes the file handle to which runtime messages are sent, which is usually file handle 2, to fh.",
  1955. //VB:       int,
  1956. //VB:       int _set_crt_msg_handle(int fh)
  1957. //VBAction: setvbuf,
  1958. //VB:       "setvbuf allows control over the buffering strategy and buffer size for a specified stream.",
  1959. //VB:       int,
  1960. //VB:       int setvbuf(FILE* stream, char* buf, int type, size_t size)
  1961. //VBAction: tempnam,
  1962. //VB:       "tempnam creates a temporary file name in another directory.",
  1963. //VB:       char*,
  1964. //VB:       char tempnam(char* dir, char* prefix)
  1965. //VBAction: tmpfile,
  1966. //VB:       "tmpfile creates a temporary binary file.",
  1967. //VB:       FILE*,
  1968. //VB:       FILE tmpfile()
  1969. //VBAction: tmpnam,
  1970. //VB:       "tmpnam produces a valid file name that is not the same as the name of any existing file.",
  1971. //VB:       char*,
  1972. //VB:       char tmpnam(char* string)
  1973. //VBAction: ungetc,
  1974. //VB:       "ungetc pushes the unsigned character c back onto the given input stream.",
  1975. //VB:       int,
  1976. //VB:       int ungetc(int c, FILE* stream)
  1977. //VBAction: ungetwc,
  1978. //VB:       "ungetwc pushes the wide character by wc back onto the input stream.",
  1979. //VB:       wint_t,
  1980. //VB:       wint_t ungetwc(wint_t wc, FILE* stream)
  1981. //VBAction: unlink,
  1982. //VB:       "unlink deletes the file specified by pathname.",
  1983. //VB:       int,
  1984. //VB:       int unlink(const char* pathname)
  1985. //VBAction: wctob,
  1986. //VB:       "wctomb converts the wide character wc into a multibyte character and stores it in the location pointed to by string.",
  1987. //VB:       int,
  1988. //VB:       int wctob(wint_t wc)
  1989. //VBPreferredFeatures: fclose, feof, rewind, fdopen, rename
  1990. //VBEndPartInfo: stdioSamples
  1991. //
  1992. //VBBeginTypedefInfo: FILE
  1993. //VBIncludes: <stdio.h>
  1994. //VBPartDataFile: 'VBSample.vbb'
  1995. //VBEndTypedefInfo: FILE
  1996. //
  1997. //VBBeginPartInfo: staticWindowSamples,
  1998. //VB:              "static window sample functions"
  1999. //VBPartDataFile: 'VBSample.vbb'
  2000. //VBComposerInfo: functions, 701, dde4vr30
  2001. //VBIncludes: <iwindow.hpp>
  2002. //VBAction: desktopWindow,
  2003. //VB:       "Static function to return the desktop window.",
  2004. //VB:       IWindow*,
  2005. //VB:       static IWindow* IWindow::desktopWindow()
  2006. //VBAction: objectWindow,
  2007. //VB:       "Static function to return object window.",
  2008. //VB:       IWindow*,
  2009. //VB:       static IWindow* IWindow::objectWindow()
  2010. //VBPreferredFeatures: desktopWindow, objectWindow
  2011. //VBEndPartInfo: staticWindowSamples
  2012. //
  2013.