03-11-2013
Oh, you prefer leaving the line counting up to us. Where is line 35?
10 More Discussions You Might Find Interesting
1. Solaris
I am trying to set up my compiler, but when I go to look for
gcc it not found but I get a message
that stayed (/usr/oasys/bin) and when I go into the dir
to set my env the following is type
cp : cannot creat //pref/.environ: no such file or directory
and I input ./setenv PATH=... (3 Replies)
Discussion started by: alsande
3 Replies
2. Shell Programming and Scripting
Not sure what has changed in the Unix environment.
The following script which was working is now not working.
#!/usr/bin/ksh
# -----------------------------------------------------------------------------
# File: monitor_db.sh
#
#... (1 Reply)
Discussion started by: uuser
1 Replies
3. AIX
hi eveybody,
i m trying to set acl using acledit command in AIX box
but wat im gettung is
3002-100 acledit: EDITOR environment variable not set
can anyone help me out how 2 set editor....................
thanks in advance (4 Replies)
Discussion started by: rrlog
4 Replies
4. Red Hat
Hi there,
How can I change bash to csh when starting a terminal, and set some aliases for csh? I can't find such files like .cshrc in my home directory.
Thanks a lot (1 Reply)
Discussion started by: dustinwang2003
1 Replies
5. Shell Programming and Scripting
Hi,
I have problem setting up environmental variables.
The idea is to start with main.ksh script that will run setting.ksh, and in side of it I'll set up variables.
Please take a look at my code, and help me to find my mistake.
Thanks,
Mila
Main.ksh look like this:
#!/usr/bin/ksh
#... (2 Replies)
Discussion started by: mefquik
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I wrote two small scripts to set env variables in a shell.
java_env.csh
#!/bin/csh -fn
setenv JAVA_HOME '/scratch/software/jdk1.5.0_11'
setenv PATH $PATH':'$JAVA_HOME'/bin'
and run it using csh ./java_env.csh
But the env variables are not set. I tried running each line on the... (5 Replies)
Discussion started by: NoviceAmod
5 Replies
7. Shell Programming and Scripting
Hi ,
I am having one TCL TK script , I am setting some variables in the GUI TK interface
set DI 1
set MODELS_PATH /a/d/path
but I want to make ksh shell understand the variables when I am running TK script
I tried to do like this
set a
but it is not working
... (1 Reply)
Discussion started by: kshitij
1 Replies
8. Shell Programming and Scripting
Hello Everyone,
I'm still trying to grasp many concepts in .ksh scripting, one of them being variables inside loops. My problem is the following:
* I'm trying to set a variable inside a while read loop to reuse it outside of said loop. My lines are the following :... (13 Replies)
Discussion started by: jimmy75_13
13 Replies
9. Web Development
(Above from Apache docs).
On my system, using:
SetEnvIf User-Agent Mozilla IsBad=1
Order allow,deny
Allow from all
Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies
10. Shell Programming and Scripting
I have perl script and in the first line we are invoking .sh script to set ENV variables.
e..g
eval '. $envfile; exec $PERL -S $0 "$@"'
I want to change some of the env variables while the program is running and I am settging it like this ..
$ENV{ORACLE_HOME}=trim($oraclehome);... (1 Reply)
Discussion started by: talashil
1 Replies
LEARN ABOUT DEBIAN
zipios_simplesmartpointer
zipios::SimpleSmartPointer(3) Library Functions Manual zipios::SimpleSmartPointer(3)
NAME
zipios::SimpleSmartPointer -
SimpleSmartPointer is a simple reference counting smart pointer template.
SYNOPSIS
#include <simplesmartptr.h>
Public Member Functions
Type * operator-> () const
Type & operator* () const
SimpleSmartPointer (Type *p=0)
template<class T2 > SimpleSmartPointer (const SimpleSmartPointer< T2 > &src)
SimpleSmartPointer (const SimpleSmartPointer &src)
template<class T2 > SimpleSmartPointer & operator= (const SimpleSmartPointer< T2 > &src)
SimpleSmartPointer & operator= (const SimpleSmartPointer &src)
SimpleSmartPointer & operator= (Type *src)
bool operator== (const Type *p) const
bool operator!= (const Type *p) const
bool operator== (const SimpleSmartPointer &sp) const
bool operator!= (const SimpleSmartPointer &sp) const
bool operator! () const
operator void * () const
Type * get () const
unsigned int getReferenceCount () const
Returns the reference count - For debugging purposes.
Detailed Description
template<class Type>class zipios::SimpleSmartPointer< Type >
SimpleSmartPointer is a simple reference counting smart pointer template.
The type pointed to must keep a reference count that is accessible through the two methods void ref() const and unsigned int unref() const.
The type must also handle the reference count properly. The easiest way to do that is to use the ReferenceCount template class.
Definition at line 15 of file simplesmartptr.h.
Member Function Documentation
template<class Type> unsigned int zipios::SimpleSmartPointer< Type >::getReferenceCount () const [inline]
Returns the reference count - For debugging purposes.
Definition at line 67 of file simplesmartptr.h.
Author
Generated automatically by Doxygen for Zipios++ from the source code.
Zipios++ Mon Oct 10 2011 zipios::SimpleSmartPointer(3)