corrected documentation a bit

This commit is contained in:
hyung-hwan 2011-07-16 09:53:49 +00:00
parent 1deaac776d
commit 49abb01c3e
7 changed files with 47 additions and 61 deletions

View File

@ -1,4 +1,28 @@
/** @defgroup cut TEXT CUTTER /** @defgroup cut TEXT CUTTER
Text Cutting Utility @section cut_contents CONTENTS
- \ref cut_intro
- \ref cut_howtouse
@section cut_intro INTRODUCTION
Most of unix platforms offer a text utility with which you can remove
or extract selected subtext. This library contains data types and functions
that can help you embed such text manipulation functionality into your
applications.
@section cut_howtouse HOW TO USE
See the following key functions.
- qse_cut_open()
- qse_cut_comp()
- qse_cut_exec()
- qse_cut_close()
Also see a helper functions for easier use.
- qse_cut_openstd()
- qse_cut_compstd()
- qse_cut_execstd()
*/ */

View File

@ -7,8 +7,8 @@
@section sed_intro INTRODUCTION @section sed_intro INTRODUCTION
The sed stream editor is a non-interactive text editing tool commonly used A stream editor is a non-interactive text editing tool commonly used
on Unix environment. Sed reads text from an input stream, stores it to on Unix environment. It reads text from an input stream, stores it to
pattern space, manipulates the pattern space by applying a set of editing pattern space, manipulates the pattern space by applying a set of editing
commands, and writes the pattern space to an output stream. Typically, the commands, and writes the pattern space to an output stream. Typically, the
input and output streams are a console or a file. input and output streams are a console or a file.

View File

@ -28,7 +28,7 @@
* by implementing default handlers for I/O and memory management. * by implementing default handlers for I/O and memory management.
* *
* @example cut01.c * @example cut01.c
* This example shows how to write a simple text cutter using easy API * This example shows how to write a simple text cutter using helper
* functions. * functions.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* $Id: Sed.hpp 441 2011-04-22 14:28:43Z hyunghwan.chung $ * $Id: Sed.hpp 507 2011-07-15 15:53:49Z hyunghwan.chung $
* *
Copyright 2006-2011 Chung, Hyung-Hwan. Copyright 2006-2011 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -24,20 +24,10 @@
#include <qse/cmn/Mmged.hpp> #include <qse/cmn/Mmged.hpp>
#include <qse/sed/sed.h> #include <qse/sed/sed.h>
/**
* @defgroup sed_cxx C++
* @ingroup sed
* @{
*/
/**
* @defgroup sed_cxx_core Core interface
* @ingroup sed_cxx
* @{
*/
/** @file /** @file
* Stream Editor * This file defines C++ classes that you can use when you create a stream
* editor. The C++ classes encapsulates the C data types and functions in
* a more object-oriented manner.
*/ */
///////////////////////////////// /////////////////////////////////
@ -322,7 +312,4 @@ private:
QSE_END_NAMESPACE(QSE) QSE_END_NAMESPACE(QSE)
///////////////////////////////// /////////////////////////////////
/* @} */
/* @} */
#endif #endif

View File

@ -1,5 +1,5 @@
/* /*
* $Id: StdSed.hpp 441 2011-04-22 14:28:43Z hyunghwan.chung $ * $Id: StdSed.hpp 507 2011-07-15 15:53:49Z hyunghwan.chung $
* *
Copyright 2006-2011 Chung, Hyung-Hwan. Copyright 2006-2011 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -26,7 +26,8 @@
#include <qse/cmn/str.h> #include <qse/cmn/str.h>
/** @file /** @file
* Standard Stream Editor * This file defines easier-to-use stream editor classes providing standard
* memory management and I/O handling.
*/ */
///////////////////////////////// /////////////////////////////////

View File

@ -1,5 +1,5 @@
/* /*
* $Id: sed.h 441 2011-04-22 14:28:43Z hyunghwan.chung $ * $Id: sed.h 507 2011-07-15 15:53:49Z hyunghwan.chung $
* *
Copyright 2006-2011 Chung, Hyung-Hwan. Copyright 2006-2011 Chung, Hyung-Hwan.
This file is part of QSE. This file is part of QSE.
@ -24,27 +24,13 @@
#include <qse/types.h> #include <qse/types.h>
#include <qse/macros.h> #include <qse/macros.h>
/**
* @defgroup sed_c C
* @ingroup sed
* @{
* hello
*/
/**
* @defgroup sed_c_core Core interface
* @ingroup sed_c
* @{
* The sed library provides data types and functions for creating a custom
* stream editor commonly available on platforms. It is a non-interactive
* text editing tool that reads text from an input stream, stores it to
* pattern space, manipulates the pattern space by applying a set of editing
* commands, and writes the pattern space to an output stream. Typically,
* the input and output streams are a console or a file.
*/
/** @file /** @file
* A stream editor performs text transformation on a text stream. * This file defines data types and functions to use for creating a custom
* stream editor commonly available on many platforms. A stream editor is
* a non-interactive text editing tool that reads text from an input stream,
* stores it to pattern space, manipulates the pattern space by applying a set
* of editing commands, and writes the pattern space to an output stream.
* Typically, the input and output streams are a console or a file.
* *
* @code * @code
* sed = qse_sed_open (); * sed = qse_sed_open ();
@ -442,7 +428,4 @@ void qse_sed_setlinnum (
} }
#endif #endif
/* @} */
/* @} */
#endif #endif

View File

@ -21,21 +21,14 @@
#ifndef _QSE_SED_STD_H_ #ifndef _QSE_SED_STD_H_
#define _QSE_SED_STD_H_ #define _QSE_SED_STD_H_
/**
* @defgroup sed_c_std Helper functions
* @ingroup sed_c
* @{
* If you don't care about the details of memory management and I/O,
* you can choose to use the helper functions provided here. It is
* a higher-level interface that is easier to use as it implements
* default handlers for I/O and memory management.
*/
#include <qse/sed/sed.h> #include <qse/sed/sed.h>
/** @file /** @file
* This file provides easier-to-use interface * This file defines easier-to-use helper interface for a stream editor.
* by implementing default handlers for I/O and memory management. * If you don't care about the details of memory management and I/O handling,
* you can choose to use the helper functions provided here. It is
* a higher-level interface that is easier to use as it implements
* default handlers for I/O and memory management.
* *
* @example sed01.c * @example sed01.c
* This example shows how to write a simple stream editor using easy API * This example shows how to write a simple stream editor using easy API
@ -104,6 +97,4 @@ int qse_sed_execstd (
} }
#endif #endif
/* @} */
#endif #endif