Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

BufferFormat.d File Reference

Go to the source code of this file.

Functions

class BufferFormatTemplate (T)
typedef BufferFormatTemplate (char) BufferFormat

Variables

module mango io BufferFormat
import mango convert Format
import mango convert mango
convert 
Double
import mango io BufferCodec
import mango io model IBuffer


Detailed Description

Copyright (c) 2004 Kris Bell

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages of any kind arising from the use of this software.

Permission is hereby granted to anyone to use this software for any purpose, including commercial applications, and to alter it and/or redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment within documentation of said product would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any distribution of the source.

4. Derivative works are permitted, but they must carry this notice in full and credit the original source.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version:
Initial version; December 2005
Author:
Kris

Definition in file BufferFormat.d.


Function Documentation

class BufferFormatTemplate  ) 
 

A bridge between a Format instance and a Buffer. This is used for the Print & Error globals, but can be used for general-purpose buffer-formatting as desired. The Template type 'T' dictates the text arrangement within the target buffer ~ one of char, wchar or dchar (utf8, utf16, or utf32)

Construct a BufferFormat instance, tying the provided buffer to a formatter. Set option 'flush' to true if the result should be flushed when complete, and provide a 'tail' to append on the completed output (such as a newline).

Callback from the Format instance to write an array

Callback from the Format instance to render the content

Definition at line 60 of file BufferFormat.d.

References RawCodec1::buffer, buffer, BufferFormatTemplate(), Double, FormatClassTemplate(), importer(), type(), and UnicodeImporter().

Referenced by BufferFormatTemplate().

typedef BufferFormatTemplate char   ) 
 


Variable Documentation

module mango io BufferFormat
 

Definition at line 40 of file BufferFormat.d.

import mango convert Format
 

Definition at line 42 of file BufferFormat.d.

import mango convert mango convert Double
 

Definition at line 42 of file BufferFormat.d.

import mango io BufferCodec
 

Definition at line 45 of file BufferFormat.d.

import mango io model IBuffer
 

Definition at line 47 of file BufferFormat.d.


Generated on Sat Dec 24 17:28:34 2005 for Mango by  doxygen 1.4.0