O_file


[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

template <class T>
class O_file : public Output_file, public Port_type<T>
{

public:
char* Data_pack_type(void) ;
void Make_string_data(char*, void*) ;
void Output_data(void);
O_file<T>* NewPort() ;
Boolean Init(char* f_name, int l_len ) ;
O_file(char* f_name, int l_len ) ;
O_file(void) ;
~O_file(void) ;
protected:
}; // O_file

Back to the top of O_file


DESCRIPTION

O_file< T> is a class of output ports which receive Data< T> and print them in a file.

O_file< T> receives Data< T>. O_file< T> can be connected with Send< T>, Relay< T>, and I_file< T>.

O_file< T> prints data of type Data< T> using Data< T>::Dpack2ofile(FILE* fp).

Back to the top of O_file


char* Data_pack_type(void) ;

Returns the data_pack_type which expresses the type of data to be receided.

  char* Data_pack_type(void)                           
;

Function is currently defined inline.


Back to the top of O_file


void Make_string_data(char*, void*) ;

  void Make_string_data(char*, void*)   ;

Function is currently defined inline.


Back to the top of O_file


void Output_data(void);

Though this function is defined in the base class Output_file, it is redifined in O_file< T>.

  virtual void Output_data(void);

Back to the top of O_file


O_file<T>* NewPort() ;

Returns a new pointer to a new O_file< T> Port

  virtual O_file<T>* NewPort()                            
;

Function is currently defined inline.


Back to the top of O_file


Boolean Init(char* f_name, int l_len ) ;

Init

  Boolean Init(char* f_name, int l_len = 128)
                             ;

Function is currently defined inline.


Back to the top of O_file


O_file(char* f_name, int l_len ) ;

Constructor

  O_file(char* f_name, int l_len = 128)
        ;

Function is currently defined inline.


Back to the top of O_file


O_file(void) ;

Constructor

  O_file(void)
        ;

Function is currently defined inline.


Back to the top of O_file


~O_file(void) ;

Destructor

  ~O_file(void)   
;

Function is currently defined inline.


Back to the top of O_file


All Members

public:
char* Class_name(void) ;
char* Object_name(void) ;
int Object_number(void) ;
void* Owner(void) ;
Boolean Compare(char* c_name, char* o_name, int o_num);
Boolean Compare(char* o_name, int o_num);
Boolean Compare(Object* obj);
Boolean Set_owner(void* o);
void Cprint(FILE* fp_out, char* head);
void Cprint(FILE* fp_out) ;
void Cprint(char* head ) ;
void Oprint(FILE* fp_out, char* head);
void Oprint(FILE* fp_out) ;
void Oprint(char* head ) ;
void Absname( char* absname );
Boolean Init(char* o_name, int o_num);
char* Data_pack_type(void) ;
Boolean Set_sender(void* s);
Boolean Register_receiver(void* r);
Boolean Switch(void);
Boolean Are_you_ready(void) ;
void Creq(void) ;
void Set_data_pack_array(void) ;
Boolean Can_you_get_data(time_t t_from, time_t t_to) ;
Boolean Can_you_get_data(time_t t) ;
void Get_data_pack_array(void**& dp_array, int& num_of_dp) ;
time_t Oldest_data_time(void) ;
time_t Newest_data_time(void) ;
int Number_of_data_packs(void) ;
Boolean Get_data_pack( void*& former, time_t data_time, void*& later, char flag) ;
Boolean Get_data_pack(void*& former, time_t data_time) ;
Boolean Get_data_pack(time_t data_time, void*& later) ;
time_t Necessary_time_from(void) ;
time_t Necessary_time_to(void) ;
void Reduce_data_pack_stock(void) ;
void Print_connection(FILE* fp_out, char* head);
void Print_connection(FILE*) ;
void Print_connection(char* head ) ;
Port* NewPort(); // pure virtual
Boolean Init(char* p_name, int p_num) ;
Boolean Can_you_get_data(time_t t_fromto) ;
Boolean Get_data_pack(void*& former, time_t data_time, void*& later, char flag ) ;
void Print_connection(FILE* fp_outr, char* head);
void Output_data(void) ;
int Line_length(void) ;
time_t Last_data_time(void) ;
void Set_comment_string(char* cmt);
void Oprint(FILE* fp_out , char* head );
Boolean Init(char* f_name, int l_len );
void Make_string_data(char*, void*) ;
O_file<T>* NewPort() ;
protected:
char* class_name;
char* object_name;
int object_number;
void* owner;
void* sender;
int line_length;
time_t last_data_time;
char* comment_string;
Boolean Write_hedda(void);
void Make_string_data(char* str, void* d_pack) ;
static char* data_pack_type;

Back to the top of O_file


Ancestors

Inheritance chain for O_file:

Back to the top of O_file


Descendants

Class is not inherited by any others.

Back to the top of O_file


Generated from source by the Cocoon utilities on Sun Sep 3 22:52:05 2000 .

Report problems to jkotula@stratasys.com