like operator in informatica

  • jQuery Colon Operator

    Will jquery 1.1.3 support the colon operator?ex: <span style="font-family: courier new,monospace;">$("xsl\:template")</span>I know that <span style="font-weight: bold; font-family: courier new,monospace;">:</span> is used in jQuery, but <span style="font-weight: ...

  • jQuery general JS Q: when to use the delete operator?

    Since there are some pretty learned JS people reading this I thought Imight get some good advice on a general question I have had for a longtime. It applies to jQuery in that it applies to almost all JSdevelopment I do; which all uses jQ these days.Is there value in using the delete operator?If you ...

  • jQuery OOP, object literal notation, and the 'new' operator - how to have multiple child objects of a parent object?

    I wonder if anyone can clear up an OOP issue for me, specifically, howto have multiple child objects of a parent object. Consider the codebelow:var parentObj={childCount: 0,childObj: {id:false,init: function() {alert(this.id);parentObj.childCount++;this.id = parentObj.childCount;alert("Child ...

  • jQuery xpath or operator

    How do you join nodesets or perform a conditional matching on anattribute?The xpath or operator doesn't seem to work (//selector1 | //selector2)=>nodeset. ...

  • jQuery xpath or operator

    Hi,The xpath or operator doesn't seem to work in jdomquery 1.1.3.1. Forinstance according the the xpath spec this should return one set ofnodes: ...

  • jQuery unexpected eq() operator precedence result

    If I have a grid composed of row and cell div element as follows:<div class="grid">   <div class="row">       <div class="cell"/>       <div class="cell"/>       <div class="cell"/>   </div>  ...

  • jQuery mixing functions such as .find() and .sibling() with selectors such as :parent and the '+' sibling operator

    problem: I have this complicated search I want to make via jQuery, I realized that I will have to nest several selectors/functions and I don't know how the syntax works for that.example:I'm looking to find all input fields that exist in tab(i) that are adjacent (or a sibling of) labels that have a s ...

  • overloading operator =

    I keep getting the error message: Error 1 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Program *' (or there is no acceptable conversion) and Error 2 error C2664: 'Dean::findCourse' : cannot convert parameter 1 from 'std::vector<_Ty>' to 'std::vector< ...

  • operator<< overload problem!

    i have one problem and i dont have idea how to solve it, I hope someone will know it.Here is it...#include <iostream>using namespace std;class simply{private:int x;int y;public:simply(){}simply(int x, int y){this->x=x;this->y=y;}void print(){cout<<"X : "<<x;cout< ...

  • Logical Not Operator

    Hi, please remember that i am a beginner :)At the moment, i am going through the game engine which my book gives me and i am writing notes about what is going on so that i fully understand what is taking place in the engine. Could you take a look at the below notes and tell me if im right in what im ...

  • operator overloading

    lets say test1 gets called in main...when it tries to compile i get error: '=' left operand must be l-value...I think it could be my definitionI'm assuming the bottom function gets called everytime the statement in bold arises.void test1() {cout << "1. Array declared with single integer: ...

  • [Q] Operator Methods

    class String{public:String(char*s) {...};~String() {...};char operator[](int offest) { return string[offset]; };private:char *string;}class Foo{public:Foo() {char *s;cout << "Enter String: ";cin >> s;myString = new String(s); // For example, I have to dynamicly construct myStri ...

  • Using operator to get GDI handle

    I noticed in a recent thread use of:HDC hdc;CClientDC dc(NULL);hdc = dc.operator HDC(); which I think has the same effect as:HDC hdc;CClientDC dc(NULL);hdc = static_cast<HDC> (dc);I see that a lot of MFC objects provide a similar operator to get at the underlying GDI handle. Is there a good re ...

  • Does GetDC()->operator HDC() need a ReleaseDC?

    I am calling a DLL function OnMouseMove which requires me to pass an HDC.I am using:OnMouseMove{HDC hdc;hdc = GetDC()->operator HDC();DllFunc(hdc);...}I don't see any memory leaks but the documentation suggest that when using GetDC(), a ReleaseDC() must follow. Is this accurate? Should i rewrite ...

  • How to set reference property in assingment operator ?

    If I have a property in my class int &age , how would I reset its value inside assignment operator ??Also in c++ is there any way I can call parent virtual function inside my subclass ?? ...

  • Use of Assignment Operator with default constructor problem

    all I have defined and declare a Animal class with overloaded constructor , I have also defined a simple assignment operator ,public:Animal();Animal(int width, int height,int weight,int color);Animal(const Animal& animal); //copy constructorvoid setHeight(int height){ itsHeight = height ;}void s ...

  • Step into operator new

    Normally when I debug (on my work machine) when I hit F11 in Visual Studios I can step into operator new. I've just created a very simple project in VS Express 2008 and when I try and step into operator new I just step over. I tried forcing my way into the code by switching to assembly and then swit ...

  • radiobutton' : 'operator =' function is unavailable

    To make a check box/radio box to be transparent ,i use transparent radio button subclass that derived from the CButton.The method i followed was taken from the code guru site.It helps to make the check box/radio box button to be transparent.But i need to check the state of the Check Box?So that i us ...

  • problem with CAdapt operator "=="

    Hi, all, I tried the following code:list<CAdapt<MSXML2::IXMLDOMNodePtr>>::iterator it1;list<CAdapt<MSXML2::IXMLDOMNodePtr>>::iterator it2;for (it1 = ltNodes1.begin(); it1 != m_ltNodes1.end(); ++it1){for (it2 = ltNodes2.begin(); it2 != ltNodes2.end(); ++it2){if (it1 ->m_T = ...

  • Typecasting an operator?

    If I have an array of chars and one of them is an operator such as +, - , /, or * and I want to use the operator that is in the array for an equation, is it possible to do that?for example, if an element in an array is '/' and I want to use that sign to between two integers like this: 6 / 2 = 3. or ...

  • Ternary operator???

    This is my first post. i want to explain my problem. There is a C++ statement using Ternary operator.int d = day; // day is firstint m = month; // the month we selectedint y = year; // the year we selectedint f = (d += m < 3 ? y-- : y - 2, 23 * m / 9 + d + 4 + y / 4 - y / 100 + y / 400) % 7;this ...

  • Default operator ( || ) doesn't work with empty array

    anotherVar should be -1 if there are no matches, but it doesn't seem to work var string = "abadafa";var matches = string.match(/a/gi); //doesn't work with /z/ for examplevar anotherVar = matches.length || -1;The default operator should return the second value if the first is null or false, ...

  • void operator: What's the point?

    I read somewhere (I think from Douglas Crockford) that void is a completely useless operator. What is its actual purpose? Is there anything it's good for?I see lots of javascript:void(0) hyperlinks all over the place. From what I gather, it just disables the link's default behavior...buy why not jus ...

  • Help with Logical And Operator

    Somehow the AND Operator in my code doesent workWhat my useless "Program" does:The program ask you to write a number from 1-10What I want it to do:If its above 10 it print that the number is to highIf its below 0 it print that the number is to lowIf its between 0 and 10 it print that the n ...

  • Sphinx 0.9.8-RC1: Proximity operator always gives 0 results

    I have been unable to get the proximity operator to work in 0.9.8-RC1. For example:-----------------------------------------./search -i full -e2 @subject "word wrap"index 'full': query '@subject word wrap ': returned 2 matches of 2 total in 0.003 secdisplaying matches:1. [...] subject=Plea ...

  • problem with quorum operator in sphinx se

    when using quorum operator in extended2-mode with sphinx se 0.9.8-rc2 in mysql 5.1.22-rcI get the follwing error :ERROR 1430 (HY000): There was a problem processing the query on the foreign data source.Data source error: searchd error: index idx_sub1_all,idx_sub2_all: query errThe error raises only ...

  • Sphinx Problem with proximity-operator in extended2 mode [0.9.8-rc2]

    I am using sphinx SE and sphinx-binaries from 0.9.8-rc2. I have a test table :+----+-------------------------+| id | mystr |+----+-------------------------+| 6 | xx test xx || 7 | xx test test2 xx || 8 | xx test test2 test3 xx |+----+-------------------------+I'd like to have the exact match rank hi ...

  • SQL: Replace OR-Operator with IN-Operator

    HiI have the following sql:Select count(*) from ADU.UTADU_ADRESSE where (wvrd_wlgs, wvagentur) = (1,1) or (wvrd_wlgs, wvagentur) = (2,2)Can the OR-Operator be replaced with the IN-Operator for this query ?Marc ...

  • USB thumb drive difficulties with Operator distro

    I recently made a copy of the Debian based security distro "Operator" I love the distro and everything seems to work alright except it refuses to detect any of my USB thumb drives. I know they work because they are detected by Knoppix wich Operator is mostly based off of. If anyone could t ...

  • Sphinx Ignoring ! operator

    How can we have sphinx ignore the ! operator?We have several artists in our database that has ! in their name. As such, sphinx is notseeing these results due to the ! operator. Can we have sphinx avoid this operator? Isthere something we can edit within the config file?Also, how can we have sphinx a ...

  • Pass operator as variable without eval?

    Any suggestions on how you might achieve the following without using eval()? I've come up a bit short :(function addOrSubtract(operator) {var a = 10;var b = 5;var answer = eval(a + operator + b);alert(answer); }addOrSubtract('+') // alerts 15addOrSubtract('-') // alerts 5Would help me tidy up some c ...

  • Operator overloading,initization, Print() in header file

    I'm currently writing a header file for a Car class. But The problem is I don't know how to initialized in the Car class and use the copy constructor in the header file. Also, this header file requires a operator function. When I compile it, I have a syntax errors for those two operator function. Fo ...

  • Debugging operator overloading

    I have some errors on operator overloading. And don't know how to fix. I really need to get my program working properly by tomorrow. So please help mehere's the code:PHP Code: //Vehicle header file #ifndef VEHICLE_H #define VEHICLE_H #define LEN 25 #include "Journe ...

  • When "new" operator fails

    I need some clarification please. When a new operator in a MFC program fails to allocate memory what exactly does it do? Returns NULL, or throws an exception? ...

  • Help with overloading operator delete

    Here is what I did,class A{public:A(){p1 = new int(1);p2 = new int(2);}private:int* p1;int* p2;};void* operator new(size_t size, int dummy){void* p = malloc(size);return p;}void operator delete(void* ptr, int dummy){free(ptr);}#define new new(0)#define delete delete(0)int main() {A* pA = new A;delet ...

  • Equality operator for structs

    I have a struct defined (an array of 4 bytes). Variables a and b are both of this same type of struct. C or C++ will not accept this:if (a == b) do something;Besides for defining my own overloaded operator, is there any way you can set the compiler to know that they are of the same type and to accep ...

  • Help with overloading << operator

    I am learning C++ and practice to write a math matrix class, then overload << operator to print the elements of the matrix.#include <vector>#include <iostream>template <class T>class Matrix {friend std::ostream& operator<<(std::ostream& os, Matrix<T>& ...

  • external overloading of assignment operator

    Guys, could you please tell me whats wrong with my code... I have no idea..the error message is : latchap13-3.cpp:35: error: 'void operator=(Array&, Array&)' must be a nonstatic member functionlatchap13-3.cpp:39: error: 'void operator=(Array&, Array&)' must be a nonstatic member func ...

  • modulus operator is not working if i give number more than 24 digits

    If number is more than 24 digits, modulus operator is not giving correct outputhere attached sample code[code]<script type="text/javascript">var a=10000000000000000000000.0;var b=10.0;var c=a % b;alert("c"+c);</script>[code]please tel me solution ...

  • A question with overloading operator new

    Here is my implementation of overloading operator new and operator delete.struct _HeapInfo{char fileName[64];int line;int size;};typedef struct _HeapInfo HeapInfo;map<int, HeapInfo>* HeapInfoMap;void SaveHeapInfo(int addr, const char* fileName, int line, int size){if(!HeapInfoMap)HeapInfoMap = ...

  • Sphinx Extended query syntax | operator NOT

    I am using the SPH_MATCH_EXTENDED2 matching mode and am encountering unexpected resultsfor the query: science-fictionI would have expected sphinx to treat the query as one word, but it gets treated as twowords and negating the word 'fiction'. Is this a feature or a bug?I think it is common for most ...

  • SphinxQL operator IN() has a bug

    Operator IN() does not work if the value not in the head or the tail of the list.for example (testrt from the default config):Server version: 1.10-id64-beta (r2420)INSERT INTO testrt VALUES ( 1, 'first record', 'test one', 123 );INSERT INTO testrt VALUES ( 2, 'second record', 'test two', 234 );mysql ...

  • why can't operator[] be overloaded globally?

    just for curiosity:I have noticed that we can't override operator[] globally, for instance:struct UserType {};void operator[](UserType& a, int b){...}the compiler complains:'operator []' must be a non-static memberand I wonder why?I actually asked Bjarne Stroustrup this question and he replied: ...

  • Operator Overloading on an Array

    i would like to write operator overloading functions (like addition, subtraction etc) on a single dimension array in a class. The functions should be of type friend functions. .This is the function name:friend const Array operator +(const Array& array1);If the above piece of code is correct, wha ...

  • AIX 5.3 assembler not supporting the @ operator?

    I have a problem where I would really appreciate any hints on how to solve it. I am using the AIX 5.3.0.0 assembler, and would like to load a 64 bit address to a register in order to perform some operations. The code looks like this:#Load in the high-order pieces of the address lis 7, first_value@hi ...

  • operator overloading using friend function

    ------------------------If i have a class:class Rational{....Rational operator+(Rational &rat);friend Rational operator+(Rational rat1, Rational rat2);......};Rational operator+(Rational rat1, Rational rat2);int main(){Rational r1(2,3),r2(4,5);.......r1=r1+r2;...}-------------------------------I ...

  • Question about accessing private member in copy constructor and assignment operator

    I am learning C++ and have a question about write copy constructor and assignment operator.I wrote following codes to illustration in my confusion.myheader.hclass myTest {public://default constructormyTest(){} //constructormyTest(double mydata): mydata_(mydata){}//copy constructormyTest(const myTest ...

  • SQL problem: optimizing UNION operator

    My application's search is based on some queries grouped through union or intersect operator.My problem is that I would like to optimize the search and I cannot optimize UNION or INTERSECT operator.If I add the times of all the queries I get a number infinitely small than the time obtain by the reun ...

  • Trying to learn JS, what is the % operator for?

    The article I'm trying to learn from. (http://www.w3schools.com/js/js_operators.asp)I'm trying to learn JavaScript. I'm using the w3 schools to do it. It's so far been pretty helpful with all the other things I've tried to pick up. So there's a description of the operators and I get all of them exce ...

  • AIX 5.3 assembler not supporting the @ operator?

    Sorry for the x-post!I have a problem where I would really appreciate any hints on how to solve it. I am using the AIX 5.3.0.0 assembler, and would like to load a 64 bit address to a register in order to perform some operations. The code looks like this:#Load in the high-order pieces of the address ...