Loading...
Searching...
No Matches
Enumerations
TypeConstants.h File Reference

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

Enumerations

enum  {
}
 

Variables

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

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
extern

application/x-vnd.Be.URL.file

Since
BeOS R5

◆ B_URL_FTP

B_URL_FTP
extern

application/x-vnd.Be.URL.ftp

Since
BeOS R5

◆ B_URL_GOPHER

B_URL_GOPHER
extern

application/x-vnd.Be.URL.gopher

Since
BeOS R5

◆ B_URL_HTTP

B_URL_HTTP
extern

application/x-vnd.Be.URL.http

Since
BeOS R5

◆ B_URL_HTTPS

B_URL_HTTPS
extern

application/x-vnd.Be.URL.https

Since
BeOS R5

◆ B_URL_MAILTO

B_URL_MAILTO
extern

application/x-vnd.Be.URL.mailto

Since
BeOS R5

◆ B_URL_NEWS

B_URL_NEWS
extern

application/x-vnd.Be.URL.news

Since
BeOS R5

◆ B_URL_NNTP

B_URL_NNTP
extern

application/x-vnd.Be.URL.nntp

Since
BeOS R5

◆ B_URL_RLOGIN

B_URL_RLOGIN
extern

application/x-vnd.Be.URL.rlogin

Since
BeOS R5

◆ B_URL_TELNET

B_URL_TELNET
extern

application/x-vnd.Be.URL.telnet

Since
BeOS R5

◆ B_URL_TN3270

B_URL_TN3270
extern

application/x-vnd.Be.URL.tn3270

Since
BeOS R5

◆ B_URL_WAIS

B_URL_WAIS
extern

application/x-vnd.Be.URL.wais

Since
BeOS R5