рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
From: mok@kde.ru
To: kde-russian@lists.kde.ru
Subject: [kde-russian] Fwd: Re: коментарии к программам
Date: Mon, 4 Nov 2002 18:45:54 +0300
Message-ID: <10427168796.20021104184554@kde.ru> (raw)

Вопрос по поводу перевода одного места из доки 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++.





                 reply	other threads:[~2002-11-04 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10427168796.20021104184554@kde.ru \
    --to=mok@kde.ru \
    --cc=kde-russian@lists.kde.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

рассылка русскоязычной группы пользователей и разработчиков 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