Article View: pl.comp.objects
Article #16855Re: Groovy
From: Seweryn Habdank-Wojewódzki
Date: Mon, 14 May 2007 18:40
Date: Mon, 14 May 2007 18:40
39 lines
1989 bytes
1989 bytes
Witam
Przesyłam do walki nowy header hpp, dodatkowy plik cpp mam ale dla
utrudnienia nie pokazuję. W każdym razie zastosowałem pimpl'a, aby
ściemnić.
Jakie metody są w pimplu? Jakie pola? Co da zamiana private na public? Itd.
Liczę na szybki pokaz nowych sztuczek z #define i rzutowaniami :-).
//MyClass.hpp
//==========
#ifndef MYCLASS_HPP
#define MYCLASS_HPP
namespace detail
{
class MyClassImpl;
}
class MyClass
{
public:
MyClass ( int const i );
int const getI() const;
virtual ~MyClass();
private:
detail::MyClassImpl & myClassImpl;
};
#endif
Pozdrawiam.
--
|\/\/| Seweryn Habdank-Wojewódzki
\/\/
Technical Details
Message-ID:
<f2aa6n$cp8$1@news.vectranet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.task.gda.pl!news.vectranet.pl!not-for-mailReferences:
<f1tdl6$2s4$1@inews.gazeta.pl><f1todc$8s5$1@inews.gazeta.pl> <f1tss8$iq3$1@inews.gazeta.pl> <f1u2qu$1pm$1@inews.gazeta.pl> <1178922714.630317.141500@y80g2000hsf.googlegroups.com> <f22v79$3gu$1@inews.gazeta.pl> <f246sk$b8s$1@news.vectranet.pl> <f24i4s$6pe$1@inews.gazeta.pl> <f24s89$vs3$1@news.vectranet.pl> <f24u05$nnf$1@inews.gazeta.pl> <f24uor$39e$1@news.vectranet.pl> <f2586r$asf$1@inews.gazeta.pl> <f26fc9$iu6$1@news.vectranet.pl> <f287ie$354$1@inews.gazeta.pl> <f298ag$b63$1@news.vectranet.pl> <f29mdl$m5f$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.task.gda.pl!news.vectranet.pl!not-for-mail From: Seweryn Habdank-Wojewódzki <shw_mail@wp.pl> Newsgroups: pl.comp.objects Subject: Re: Groovy Date: Mon, 14 May 2007 20:40:00 +0200 Organization: VectraNET - http://www.vectranet.pl Lines: 40 Message-ID: <f2aa6n$cp8$1@news.vectranet.pl> References: <f1tdl6$2s4$1@inews.gazeta.pl><f1todc$8s5$1@inews.gazeta.pl> <f1tss8$iq3$1@inews.gazeta.pl> <f1u2qu$1pm$1@inews.gazeta.pl> <1178922714.630317.141500@y80g2000hsf.googlegroups.com> <f22v79$3gu$1@inews.gazeta.pl> <f246sk$b8s$1@news.vectranet.pl> <f24i4s$6pe$1@inews.gazeta.pl> <f24s89$vs3$1@news.vectranet.pl> <f24u05$nnf$1@inews.gazeta.pl> <f24uor$39e$1@news.vectranet.pl> <f2586r$asf$1@inews.gazeta.pl> <f26fc9$iu6$1@news.vectranet.pl> <f287ie$354$1@inews.gazeta.pl> <f298ag$b63$1@news.vectranet.pl> <f29mdl$m5f$1@inews.gazeta.pl> Reply-To: shw_mail@wp.pl NNTP-Posting-Host: 82.139.21.12 Mime-Version: 1.0 X-Trace: news.vectranet.pl 1179167767 13096 82.139.21.12 (14 May 2007 18:36:07 GMT) X-Complaints-To: usenet@news.vectranet.pl NNTP-Posting-Date: Mon, 14 May 2007 18:36:07 +0000 (UTC) User-Agent: KNode/0.10.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit