eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SunRPC::XDRType::TypedefType':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: TypedefType (private in XDRType

This class is only visible from within XDRType.

Inheritance:

   Object
   |
   +--SunRPC::XDRType
      |
      +--SunRPC::XDRType::TypedefType

Package:
stx:goodies/communication
Category:
Net-Communication-SunRPC-XDR_IDL
Owner:
SunRPC::XDRType

Instance protocol:

accessing
o  fieldNamed: fieldName ifAbsent: exceptionValue
(comment from inherited method)
raise an error for field accesses.
This is only redefined in StructType.

o  fields
(comment from inherited method)
return my fields - this returns an empty collection here;
redefined in union and struct types

o  name: nm type: t

o  type
return the value of the instance variable 'type' (automatically generated)

o  type: something
set the value of the instance variable 'type' (automatically generated)

o  typeName

printing
o  idlString: datum indent: indent
^ (name ? '???') , (type cString:datum offset:o indent:indent)

queries
o  enumValues
(comment from inherited method)
raise an error here;
redefined in enum types

o  isXDRCompound
(comment from inherited method)
return true if this Type represents either a struct or a union

o  isXDREnum
(comment from inherited method)
return true if this Type represents an enum

o  isXDRScalar
(comment from inherited method)
return true if this Type represents a scalar (non composite type).
I.e. its one of char, int, float or short

o  isXDRString
(comment from inherited method)
return true if this Type represents an array of chars (or unsigned chars)

o  isXDRStruct
(comment from inherited method)
return true if this Type represents a struct

o  isXDRTypeDef
(comment from inherited method)
return true if this Type is a typedef

o  isXDRUnion
(comment from inherited method)
return true if this Type represents a union

o  memberNames

o  numericEnumValues
(comment from inherited method)
raise an error here;
redefined in enum types

o  numericValueFor: aSymbolOrInteger
return the numeric value corresponding to a given symbolic value
(assuming the typedef'd type is an enum type)

o  sameTypeAs: aType
aType isCTypeDef ifTrue:[

usage example(s):

^ type sameTypeAs:(aType type)

o  symbolicEnumValues
(comment from inherited method)
raise an error here;
redefined in enum types

o  symbolicValueFor: val

o  xdrType
return my actual ctype



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 11:10:58 GMT