Enumerations
TypeConstants.h File Reference

Represents type codes that are used by parts of the Haiku API. More...

Enumerations

enum  { ,
  B_ANY_TYPE = 'ANYT',
  B_ATOM_TYPE = 'ATOM',
  B_ATOMREF_TYPE = 'ATMR',
  B_BOOL_TYPE = 'BOOL',
  B_CHAR_TYPE = 'CHAR',
  B_COLOR_8_BIT_TYPE = 'CLRB',
  B_DOUBLE_TYPE = 'DBLE',
  B_FLOAT_TYPE = 'FLOT',
  B_GRAYSCALE_8_BIT_TYPE = 'GRYB',
  B_INT16_TYPE = 'SHRT',
  B_INT32_TYPE = 'LONG',
  B_INT64_TYPE = 'LLNG',
  B_INT8_TYPE = 'BYTE',
  B_LARGE_ICON_TYPE = 'ICON',
  B_MEDIA_PARAMETER_GROUP_TYPE = 'BMCG',
  B_MEDIA_PARAMETER_TYPE = 'BMCT',
  B_MEDIA_PARAMETER_WEB_TYPE = 'BMCW',
  B_MESSAGE_TYPE = 'MSGG',
  B_MESSENGER_TYPE = 'MSNG',
  B_MIME_TYPE = 'MIME',
  B_MINI_ICON_TYPE = 'MICN',
  B_MONOCHROME_1_BIT_TYPE = 'MNOB',
  B_OBJECT_TYPE = 'OPTR',
  B_OFF_T_TYPE = 'OFFT',
  B_PATTERN_TYPE = 'PATN',
  B_POINTER_TYPE = 'PNTR' ,
  B_RAW_TYPE = 'RAWT',
  B_RECT_TYPE = 'RECT',
  B_REF_TYPE = 'RREF',
  B_NODE_REF_TYPE = 'NREF',
  B_RGB_32_BIT_TYPE = 'RGBB',
  B_RGB_COLOR_TYPE = 'RGBC' ,
  B_SIZE_T_TYPE = 'SIZT',
  B_SSIZE_T_TYPE = 'SSZT',
  B_STRING_TYPE = 'CSTR' ,
  B_TIME_TYPE = 'TIME',
  B_UINT16_TYPE = 'USHT',
  B_UINT32_TYPE = 'ULNG',
  B_UINT64_TYPE = 'ULLG',
  B_UINT8_TYPE = 'UBYT' ,
  B_ASCII_TYPE = 'TEXT'
}
 

Variables

System-wide MIME types for handling URLs
const char * B_URL_FILE
 application/x-vnd.Be.URL.file More...
 
const char * B_URL_FTP
 application/x-vnd.Be.URL.ftp More...
 
const char * B_URL_GOPHER
 application/x-vnd.Be.URL.gopher More...
 
const char * B_URL_HTTP
 application/x-vnd.Be.URL.http More...
 
const char * B_URL_HTTPS
 application/x-vnd.Be.URL.https More...
 
const char * B_URL_MAILTO
 application/x-vnd.Be.URL.mailto More...
 
const char * B_URL_NEWS
 application/x-vnd.Be.URL.news More...
 
const char * B_URL_NNTP
 application/x-vnd.Be.URL.nntp More...
 
const char * B_URL_RLOGIN
 application/x-vnd.Be.URL.rlogin More...
 
const char * B_URL_TELNET
 application/x-vnd.Be.URL.telnet More...
 
const char * B_URL_TN3270
 application/x-vnd.Be.URL.tn3270 More...
 
const char * B_URL_WAIS
 application/x-vnd.Be.URL.wais More...
 

Detailed Description

Represents type codes that are used by parts of the Haiku API.

The type codes all refer to a specified type, except one: B_ANY_TYPE can refer to literally any type. This type could be used in case you send or receive data of which you don't know the type, but you want to send or receive it anyway.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
B_ANY_TYPE 

General type when the exact contents are not yet known.

Since
BeOS R3
B_ATOM_TYPE 

Reference to a BAtomic class that was going to be in BeOS R6.

Unused in Haiku.

Since
Haiku R1
B_ATOMREF_TYPE 

Reference to a BAtomic class that was going to be in BeOS R6.

Unused in Haiku.

Since
Haiku R1
B_BOOL_TYPE 

Boolean value.

Since
BeOS R3
B_CHAR_TYPE 

Represents the char type.

Since
BeOS R3
B_COLOR_8_BIT_TYPE 

Represents raw bitmap data in the B_COLOR_8_BIT color space (8-bits per pixel.)

Since
BeOS R3
B_DOUBLE_TYPE 

Represents the double type.

Since
BeOS R3
B_FLOAT_TYPE 

Represents the float type.

Since
BeOS R3
B_GRAYSCALE_8_BIT_TYPE 

Represents bitmap data in the B_GRAYSCALE_8_BIT color space (8-bits per pixel.)

Since
BeOS R3
B_INT16_TYPE 

Represents a short type.

Since
BeOS R3
B_INT32_TYPE 

Represents a long type.

Since
BeOS R3
B_INT64_TYPE 

Represents a long long type.

Since
BeOS R3
B_INT8_TYPE 

Represents a char type used for integer storage.

Since
BeOS R3
B_LARGE_ICON_TYPE 

Represents a 32x32 icon.

Since
Haiku R1
B_MEDIA_PARAMETER_GROUP_TYPE 

Represents the BParameterGroup type from the media kit.

Since
BeOS R5
B_MEDIA_PARAMETER_TYPE 

Represents the BParameter type from the media kit.

Since
BeOS R5
B_MEDIA_PARAMETER_WEB_TYPE 

Represents the BParameterWeb type from the media kit.

Since
BeOS R5
B_MESSAGE_TYPE 

Represents a BMessage object.

Since
Haiku R1
B_MESSENGER_TYPE 

Represents a BMessenger object.

Since
BeOS R3
B_MIME_TYPE 

Represents a MIME string of the data type.

Since
BeOS R3
B_MINI_ICON_TYPE 

Represents a 16x16 icon.

Since
Haiku R1
B_MONOCHROME_1_BIT_TYPE 

Represents raw bitmap data in the B_MONOCHROME_1_BIT color space (1 bit per pixel.)

Since
BeOS R3
B_OBJECT_TYPE 

Represents an object pointer type such as BMessage*.

Since
BeOS R3
B_OFF_T_TYPE 

Represents the off_t type.

Since
BeOS R3
B_PATTERN_TYPE 

Represents a pattern structure.

Since
BeOS R3
B_POINTER_TYPE 

Represents a pointer type, including void*.

Since
BeOS R3
B_RAW_TYPE 

Represents untyped raw data, a stream of bytes.

Since
BeOS R3
B_RECT_TYPE 

Represents a BRect object.

Since
BeOS R3
B_REF_TYPE 

Represents an entry_ref structure.

Since
BeOS R3
B_NODE_REF_TYPE 

Represents a node_ref structure.

Since
Haiku R1
B_RGB_32_BIT_TYPE 

Represents raw bitmap data in the B_RGB_32_BIT color space (32-bits per pixel.)

Since
BeOS R3
B_RGB_COLOR_TYPE 

Represents an rgb_color structure.

Since
BeOS R3
B_SIZE_T_TYPE 

Represents the unsigned size_t type.

Since
BeOS R3
B_SSIZE_T_TYPE 

Represents the signed ssize_t type.

Since
BeOS R3
B_STRING_TYPE 

Represents a NUL terminated character array.

Since
BeOS R3
B_TIME_TYPE 

Represents 32-bit time_t data on 32-bit or 64-bit time_t data on 64-bit.

Since
BeOS R3
B_UINT16_TYPE 

Represents an unsigned short type.

Since
BeOS R3
B_UINT32_TYPE 

Represents an unsigned long type.

Since
BeOS R3
B_UINT64_TYPE 

Represents an unsigned long long type.

Since
BeOS R3
B_UINT8_TYPE 

Represents an unsigned char type used for integer storage.

Since
BeOS R3
B_ASCII_TYPE 

Represents a text string in ASCII format.

Warning
Deprecated, do not use, use B_STRING_TYPE instead.
Since
BeOS R3

Variable Documentation

◆ B_URL_FILE

B_URL_FILE

application/x-vnd.Be.URL.file

Since
BeOS R5

◆ B_URL_FTP

B_URL_FTP

application/x-vnd.Be.URL.ftp

Since
BeOS R5

◆ B_URL_GOPHER

B_URL_GOPHER

application/x-vnd.Be.URL.gopher

Since
BeOS R5

◆ B_URL_HTTP

B_URL_HTTP

application/x-vnd.Be.URL.http

Since
BeOS R5

◆ B_URL_HTTPS

B_URL_HTTPS

application/x-vnd.Be.URL.https

Since
BeOS R5

◆ B_URL_MAILTO

B_URL_MAILTO

application/x-vnd.Be.URL.mailto

Since
BeOS R5

◆ B_URL_NEWS

B_URL_NEWS

application/x-vnd.Be.URL.news

Since
BeOS R5

◆ B_URL_NNTP

B_URL_NNTP

application/x-vnd.Be.URL.nntp

Since
BeOS R5

◆ B_URL_RLOGIN

B_URL_RLOGIN

application/x-vnd.Be.URL.rlogin

Since
BeOS R5

◆ B_URL_TELNET

B_URL_TELNET

application/x-vnd.Be.URL.telnet

Since
BeOS R5

◆ B_URL_TN3270

B_URL_TN3270

application/x-vnd.Be.URL.tn3270

Since
BeOS R5

◆ B_URL_WAIS

B_URL_WAIS

application/x-vnd.Be.URL.wais

Since
BeOS R5