Dynamic Case (no length facet):

XSD type:

   <xsd:simpleType name="TypeName">
      <restriction base="xsd:hexBinary"/>
   </xsd:simpleType>

Generated C code:

   typedef OSDynOctStr TypeName;

Generated C++ code:

class TypeName : public OSDynOctStrClass { ... } ;