tie_dsource.tcl

Go to the documentation of this file.
00001 /*  tie_dsource.tcl --*/
00002 /* */
00003 /*  Data source: Data source object. I.e. here we implement a proxy.*/
00004 /* */
00005 /*  Copyright (c) 2004 Andreas Kupries <andreas_kupries@users.sourceforge.net>*/
00006 /* */
00007 /*  See the file "license.terms" for information on usage and redistribution*/
00008 /*  of this file, and for a DISCLAIMER OF ALL WARRANTIES.*/
00009 /*  */
00010 /*  RCS: @(#) $Id: tie_dsource.tcl,v 1.3 2005/09/28 04:51:24 andreas_kupries Exp $*/
00011 
00012 /*  ### ### ### ######### ######### #########*/
00013 /*  Requisites*/
00014 
00015 package require snit
00016 package require tie
00017 
00018 /*  ### ### ### ######### ######### #########*/
00019 /*  Implementation*/
00020 
00021 snit::type ::tie::std::dsource {
00022 
00023     /*  ### ### ### ######### ######### #########*/
00024     /*  Specials*/
00025 
00026     pragma -hastyperet s no
00027     pragma -hasinfo        no
00028 
00029     # ### ### ### ######### ######### #########
00030     ## API : Construction & Destruction
00031 
00032     constructor (type args) {
00033     set delegate $args
00034     return
00035     }
00036 
00037     /*  ### ### ### ######### ######### #########*/
00038     /*  API : Data source methods*/
00039 
00040     delegate ret  * to delegate
00041 
00042     # ### ### ### ######### ######### #########
00043     ## Internal : Instance data
00044 
00045     variable delegate ; # The object to delegate to.
00046 
00047     # ### ### ### ######### ######### #########
00048 }
00049 
00050 # ### ### ### ######### ######### #########
00051 ## Ready to go
00052 
00053 ::tie::register ::tie::std::dsource as dsource
00054 package provide   tie::std::dsource 1.0
00055 

Generated on 21 Sep 2010 for Gui by  doxygen 1.6.1