nested functions search


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting nested functions search
# 1  
Old 03-05-2009
Bug nested functions search

I want to write a shell script which traverses a cpp file.

Suppose there is function fncn_name6 .. which is called by fncn_name5
which in turn called by fncn_name4 and so on .. in a single cpp class.

ie

fncn_name1
{
fncn_name2
{
fncn_name3
}
{
fncn_name4
}
}

so fncn_name1 is calling function for fncn_name2, fncn_name2 for fncn_name 3 and so on ..

I need to get this flow ... which fncn calls whom....

Please help me wid ur suggestions
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Nested search in a file and replace the inner search

Hi Team, I am new to unix, please help me in this. I have a file named properties. The content of the file is : ##Mobile props east.url=https://qa.east.corp.com/prop/end west.url=https://qa.west.corp.com/prop/end south.url=https://qa.south.corp.com/prop/end... (2 Replies)
Discussion started by: tolearn
2 Replies

2. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

3. Shell Programming and Scripting

Nested if else

Hi, i m trying to create script which logic is like below. if ; then x=`cat /tmp/testoutput.log | grep STOP | wc -l` y=`cat /tmp/testoutput.log | grep RUN | wc -l` if ; then echo "process stop" if ; then echo "process running " else echo "file not found" fi ----------------... (2 Replies)
Discussion started by: tapia
2 Replies

4. Shell Programming and Scripting

Nested case

Hi there, I have nested case in my script. I am asking user, want to continue? if user press y/Y then my inner case should continue, rather than that my code start from beginning. I would like to continue my inner case until user press n or N. Is any one tell me how can I do? Thanking You,... (2 Replies)
Discussion started by: kasparov
2 Replies

5. Shell Programming and Scripting

Nested If condition

Hi I have a requirement to create a 2 folder based on there existance if then cd $var_name if then cd $var_name3 mv -fi *.* $var_TargetPath/$var_name/$var_name3 else mkdir -p "$var_name3" chmod 755 "$var_name3" mv -fi *.* $var_TargetPath/$var_name/$var_name3 else mkdir... (7 Replies)
Discussion started by: magesh_bala
7 Replies

6. Shell Programming and Scripting

Awk Script: Nested search using different patter

Hi Friends. Please have a look at dummy file. I need to extract from this file: 1. Counts of event= 2. the 2nd coulmn is unique call id of this transaction. Based on that, i have to search for txstatus= . Note: Values of event, calltype and txstatus can be anything. I want to print... (1 Reply)
Discussion started by: itsmesanju
1 Replies

7. Shell Programming and Scripting

PHP: Search Multi-Dimensional(nested) array and export values of currenly worked on array.

Hi All, I'm writing a nagios check that will see if our ldap servers are in sync... I got the status data into a nested array, I would like to search key of each array and if "OK" is NOT present, echo other key=>values in the current array to a variable so...eg...let take the single array... (1 Reply)
Discussion started by: zeekblack
1 Replies

8. Shell Programming and Scripting

Bash: Nested functions and including other scripts

Hello. I have the following problem with bash code: function fl1_load_modules_and_get_list() ........... for module in $FL_MODULES_TO_PROCESS do source "${FL_MODULE_DIR}/${module}/module.sh" done ........... } function fl1_handle_install { local... (12 Replies)
Discussion started by: FractalizeR
12 Replies

9. UNIX for Advanced & Expert Users

vi search & replace functions

I'm trying to do a global search and replace in vi. I am trying to replace a string, call it "BOB" with a carriage return and can't seem to find a reference to it. Command syntax s%/BOB/???/g What would I substitute the "???" with? (7 Replies)
Discussion started by: barnettdk
7 Replies
Login or Register to Ask a Question
AppDataUnit(3)						     Library Functions Manual						    AppDataUnit(3)

NAME
AppDataUnit - Interface (envelope) to data received over RTP packets. SYNOPSIS
#include <queuebase.h> Public Member Functions AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src) ~AppDataUnit () AppDataUnit (const AppDataUnit &src) AppDataUnit & operator= (const AppDataUnit &source) Assignment operator. PayloadType getType () const const uint8 *const getData () const Get data as it is received in RTP packets (i.e. size_t getSize () const const SyncSource & getSource () const bool isMarked () const Is this data unit marked?. uint16 getSeqNum () const Get data unit sequence number. uint8 getContributorsCount () const Get the number of contributing sources in the CSRC list. const uint32 * getContributorsID () const Get the array of 32-bit CSRC identifiers. Detailed Description Interface (envelope) to data received over RTP packets. A class of objects representing data transmitted over RTP packets. Tipically, this object will apply to received data. Data blocks received via RTP connections as well as its related objects (source, etc), are accessed through the methods of this class. Author: Federico Montesino Pouzols fedemp@altern.org Examples: audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, rtphello.cpp, and rtplisten.cpp. Constructor &; Destructor Documentation AppDataUnit::AppDataUnit (const IncomingRTPPkt &packet, const SyncSource &src) AppDataUnit::~AppDataUnit () [inline] AppDataUnit::AppDataUnit (const AppDataUnit &src) Parameters: src the AppDataUnit object being copied Member Function Documentation uint8 AppDataUnit::getContributorsCount () const [inline] Get the number of contributing sources in the CSRC list. const uint32* AppDataUnit::getContributorsID () const [inline] Get the array of 32-bit CSRC identifiers. Returns: NULL if (getContributorsCount() == 0) const uint8* const AppDataUnit::getData () const [inline] Get data as it is received in RTP packets (i.e. for multi-octet encodings, octets are in network order. Returns: Raw pointer to data block. Examples: audiorx.cpp, ccrtptest.cpp, rtpduphello.cpp, and rtphello.cpp. uint16 AppDataUnit::getSeqNum () const [inline] Get data unit sequence number. size_t AppDataUnit::getSize () const [inline] Returns: length of data in octets Examples: audiorx.cpp, and rtplisten.cpp. const SyncSource& AppDataUnit::getSource () const [inline] Returns: Source that sent this data Examples: rtplisten.cpp. PayloadType AppDataUnit::getType () const [inline] Returns: type of this data Examples: rtplisten.cpp. bool AppDataUnit::isMarked () const [inline] Is this data unit marked?. Returns: true if marked. AppDataUnit& AppDataUnit::operator= (const AppDataUnit &source) Assignment operator. Parameters: source the AppDataUnit object being assigned Returns: the result of the assignment Author Generated automatically by Doxygen for ccRTP from the source code. ccRTP Sat Jun 23 2012 AppDataUnit(3)