RE: [ C++API ] ostream ?
| Date : Wed, 28 Sep 2005 09:21:43 -0400 |
| To : <XSI(at)Softimage.COM> |
| From : "Halfdan Ingvarsson" <hingvars(at)Softimage.COM> |
| Subject : RE: [ C++API ] ostream ? |
From: owner-xsi(at)Softimage.COM on behalf of Felix Gebhardt
Sent: Wed 28-Sep-05 09:03
To: XSI(at)Softimage.COM
Subject: Re: [ C++API ] ostream ?
Hi Aloys,
Yes, I have such utility inlines. It's actually
even called Log() :) I
was just a bit tired of carrying it around for a
second and was hoping
I'm missing something obvious as I had that Python
print() in the back
of my head. I guess Jacko is right and someone put that
up specially for
Python and Mental Ray but not for the C++ API,
Thanks
anyway,
F.
Aloys Baillet
wrote:
>Hi,
>
>Actually you can shorten things a little
bit:
>
>Application
app;
>app.LogMessage(L"huhu");
>
>will
work.
>
>And you can also make a macro for
that:
>
>#define log(x) Application().LogMessage(x)
>#define
errx) Application().LogMessage(x,
siErrorMsg)
>
>log(L"huhu")
>err(L"Bad!")
>
>
>Hope
this helps!
>
>Aloys
>
>On 28/09/05, Felix Gebhardt
<gebhardt(at)betacarotin.de>
wrote:
>
>
>>Hi,
>>
>>Is there a
way to directly write to the History Window's stream? I
mean
>>something more direct than
Application().LogMessage(CString(L"huhu"));
>>
>>Maybe my
memory is playing tricks on me but I think someone mentioned
>>this
works from Python. Yes?
No?
>>
>>F.
>>
>>---
>>Unsubscribe?
Mail Majordomo(at)Softimage.COM with the following text in
body:
>>unsubscribe
xsi
>>
>>
>>
>
>
>--
>Aloys
Baillet - XSI Technical Director
>Character Dpt - Animal
Logic
>--
>
>---
>Unsubscribe? Mail
Majordomo(at)Softimage.COM with the following text in body:
>unsubscribe
xsi
>
>
>
---
Unsubscribe? Mail
Majordomo(at)Softimage.COM with the following text in body:
unsubscribe
xsi
- Follow-Ups:
- Re: [ C++API ] ostream ?
- From: Felix Gebhardt <gebhardt(at)betacarotin.de>
- Re: [ C++API ] ostream ?
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: Flipbook
- Next by Date: Re: Flipbook
- Previous by Thread: Re: Flipbook
- Next by Thread: Re: Flipbook
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |