ObjFW
Classes | Typedefs | Enumerations
OFObject.h File Reference
#import "objfw-defs.h"
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#import "macros.h"
#import "autorelease.h"
#import "OFObject+Serialization.h"

Go to the source code of this file.

Classes

struct  of_range_t
 A range. More...
 
struct  of_point_t
 A point. More...
 
struct  of_dimension_t
 A dimension. More...
 
struct  of_rectangle_t
 A rectangle. More...
 
protocol  <OFObject>
 The protocol which all root classes implement. More...
 
class  OFObject
 The root class for all other classes inside ObjFW. More...
 
protocol  <OFCopying>
 A protocol for the creation of copies. More...
 
protocol  <OFMutableCopying>
 A protocol for the creation of mutable copies. More...
 
protocol  <OFComparing>
 A protocol for comparing objects. More...
 

Typedefs

typedef double of_time_interval_t
 A time interval in seconds.
 

Enumerations

enum  of_comparison_result_t { OF_ORDERED_ASCENDING = -1, OF_ORDERED_SAME = 0, OF_ORDERED_DESCENDING = 1 }
 A result of a comparison. More...
 
enum  of_byte_order_t { OF_BYTE_ORDER_BIG_ENDIAN, OF_BYTE_ORDER_LITTLE_ENDIAN }
 An enum for storing endianess. More...
 

Enumeration Type Documentation

An enum for storing endianess.

Enumerator
OF_BYTE_ORDER_BIG_ENDIAN 

Most significant byte first (big endian)

OF_BYTE_ORDER_LITTLE_ENDIAN 

Least significant byte first (little endian)

A result of a comparison.

Enumerator
OF_ORDERED_ASCENDING 

The left object is smaller than the right

OF_ORDERED_SAME 

Both objects are equal

OF_ORDERED_DESCENDING 

The left object is bigger than the right