/[marvin]/marvin/src/libsip/test/common.hh
ViewVC logotype

Diff of /marvin/src/libsip/test/common.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by exos, Thu Sep 11 03:34:17 2003 UTC revision 1.2 by exos, Thu Sep 11 23:21:23 2003 UTC
# Line 40  Line 40 
40  *******************************************************************/  *******************************************************************/
41  /**  /**
42   ** \file common.hh   ** \file common.hh
43   ** Define common function used for test   ** Define common(i/o) function used for test
44   */   */
45    
46  #ifndef COMMON_HH  #ifndef COMMON_HH
47  # define COMMON_HH  # define COMMON_HH
48  # include "../type/discsignal.hh"  # include "../type/discsignal.hh"
49    
50  DiscSignal *get_from_file(char *str);  /** \brief get a discret signal from a file. this file has a specific format
51  void print_to_file(DiscSignal *sig, char*);   ** on the first line, the number of sample, and the second, all sample
52     ** separed by one space
53     ** \param file: the file to open
54     */
55    DiscSignal *get_from_file(char *file);
56    
57    /** \brief print a discret signal to a file. this file has the same
58     ** format as specified for get_from_file.
59     ** \param sig: signal to print
60     ** \param file: the file to create
61     */
62    void print_to_file(DiscSignal *sig, char *file);
63    
64    
65  #endif  #endif

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26