рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
* [kde-russian] Fwd: Re: коментарии к программам
@ 2002-11-04 15:45 mok
  0 siblings, 0 replies; only message in thread
From: mok @ 2002-11-04 15:45 UTC (permalink / raw)
  To: kde-russian

Вопрос по поводу перевода одного места из доки artsbuilder:

что такое по-русски "Smartwrapped reference class"?

Контекст см. ниже из письма.

This is a forwarded message
From: Sergei Pachkov <spigel@olvs.miee.ru>
To: mok@kde.ru
Date: Monday, November 04, 2002, 3:21:53 PM
Subject: коментарии к программам

===8<==============Original message text===============
Я у местных программеров поспрашивал, что они подразумевают под
smartwrapped. Большинство могут объяснить это несколькими
предложениями, с использованием слов "инкапсуляция", "разделение
имён". Все сошлись на незнании соответствующего русского термина.

Попробуй кинуть в рассылку.

Вот контекст:

Namespaces in &arts;

Each namespace declaration corresponds to a <quote>module</quote>
declaration in the &MCOP; &IDL;.
// mcop idl

module M {
    interface A
    {
    }
};

interface B;

In this case, the generated C++ code for the &IDL; snippet would look like
this:

// C++ header

namespace M {
    /* declaration of A_base/A_skel/A_stub and similar */
    class A {        // Smartwrapped reference class
        /* [...] */
    };
}

/* declaration of B_base/B_skel/B_stub and similar */
class B {
    /* [...] */
};
So when referring the classes from the above example in your C++ code, you
would have to write <classname>M::A</classname>, but only B. However, you
can of course use <quote>using M</quote>
somewhere - like with any namespace in C++.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-04 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-04 15:45 [kde-russian] Fwd: Re: коментарии к программам mok

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git