![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
Diff: RTno/PortBase.h
- Revision:
- 1:b96a6ff9bb6f
- Parent:
- 0:b14546a3cfab
diff -r b14546a3cfab -r b96a6ff9bb6f RTno/PortBase.h --- a/RTno/PortBase.h Fri Jul 29 11:23:06 2011 +0000 +++ b/RTno/PortBase.h Mon Aug 01 14:45:58 2011 +0000 @@ -28,12 +28,20 @@ int isSequenceType() { switch(m_TypeCode) { + /* case 'b': case 'B': case 'o': case 'O': case 'c': case 'C': + */ + case 'b': + case 'o': + case 'c': + case 'l': + case 'f': + case 'd': return 0; default: return 1; @@ -42,7 +50,7 @@ int GetLength() { if(!isSequenceType()) { - return 1; + return 1; } else { return ((TimedDataSeq*)m_pData)->GetBuffer()->length(); }