Changes between Version 4 and Version 5 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/CFile
- Timestamp:
- 08/22/10 21:09:43 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/CFile
v4 v5 65 65 === SetSerial === 66 66 67 bool SetSerial(baud_index baud, data_bit_index = data8, parity_index = parityNone, stop_bit_index = stopOne);67 * bool SetSerial(baud_index baud, data_bit_index = data8, parity_index = parityNone, stop_bit_index = stopOne); 68 68 69 69 === ReadLine === 70 70 71 bool ReadLine(std::string& str);71 * bool ReadLine(std::string& str); 72 72 73 73 === DeleteFile === 74 74 75 static bool DeleteFile(std::string& filepath);76 static bool DeleteFile(const char* filepath);75 * static bool DeleteFile(std::string& filepath); 76 * static bool DeleteFile(const char* filepath); 77 77 78 bool DeleteFile(void);78 * bool DeleteFile(void); 79 79 80 80 81 81 === IsReady === 82 82 83 bool IsReady(void);83 * bool IsReady(void); 84 84 85 85 === SetRTS === 86 86 87 bool SetRTS(bool on = true);87 * bool SetRTS(bool on = true); 88 88 89 89 === GetFile === 90 90 91 FILE* GetFile(void);91 * FILE* GetFile(void); 92 92 93 93 === Print === 94 94 95 void Print(const std::string& fmt, ...);96 void Print(const char * fmt, va_list& args);97 void Print(const std::string& fmt, va_list& args);98 void Print(const char * fmt, va_list& args);95 * void Print(const std::string& fmt, ...); 96 * void Print(const char * fmt, va_list& args); 97 * void Print(const std::string& fmt, va_list& args); 98 * void Print(const char * fmt, va_list& args); 99 99 100 100 === SetNonBlocking === 101 101 102 void SetNonBlocking(void);102 * void SetNonBlocking(void); 103 103 104 104 … … 106 106 === Read === 107 107 108 bool Read(void * ptr, size_t size);108 * bool Read(void * ptr, size_t size); 109 109 110 110 === Write === 111 111 112 bool Write(void * buf, size_t size);112 * bool Write(void * buf, size_t size); 113 113 114 114 === GetBytesRead === 115 115 116 size_t GetBytesRead(void);116 * size_t GetBytesRead(void); 117 117 118 118 === GetbytesWritten === 119 119 120 size_t GetBytesWritten(void);120 * size_t GetBytesWritten(void); 121 121 122 122 === Seek === 123 123 124 bool Seek(long int offset, long int origin = SEEK_SET);124 * bool Seek(long int offset, long int origin = SEEK_SET); 125 125 126 126