SOL9 2.0 Class: ConsoleWriter

 SOL9 C++ Class Library  SOL9 Samples  SOL9 Tutorial  SOL9 FAQ  SOL9 ClassTree 

Source code

/*
 * ConsoleWriter.h 
 * Copyright (c) 2011 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// SOL9
// 2009/12/24
#pragma once

#include <sol/StringT.h>
#include <sol/StringConverter.h>
#include <sol/Folder.h>
#include <sol/Writer.h>

namespace SOL {

class ConsoleWriter :public Writer {

public:
    /**
     + Constructor
     */
    ConsoleWriter()
    :Writer()
    {
    }

    
public:
    ~ConsoleWriter()
    {
    }

protected:
    // Write a wchar_t* NULL-terminated string to a console (stdout).
    virtual int writeString(const wchar_t* string)
    {
        //Simply call a base class writeString method;
        return Writer::writeString(string);
    }

};

}

Last modified: 1 Feb 2012

Copyright (c) 2009-2012 Antillia.com ALL RIGHTS RESERVED.