Changeset 7:bafe58db1509 in xplra for src/xplra/GetDataRefTask.cc
- Timestamp:
- 01/04/13 12:50:45 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplra/GetDataRefTask.cc
r6 r7 69 69 if (!stream) return 0; 70 70 71 if (length>Protocol::MAX_LENGTH) { 72 result = Protocol::RESULT_INVALID_LENGTH; 73 return 0; 74 } 75 if (offset<0) { 76 result = Protocol::RESULT_INVALID_OFFSET; 77 return 0; 78 } 79 71 80 if (type==Protocol::TYPE_FLOAT_ARRAY) { 72 81 return new GetFloatArrayDataRefTask(name, length, offset);
Note:
See TracChangeset
for help on using the changeset viewer.