Questions tagged [members]

175 questions
1
vote
0 answers

Too many members in structure?? (Program runs fine but exits with error)

I have an obvious question, yet I'm perplexed by the problem. Ok, first let me overview the situation. I have a structure called ENTITY that is used to hold the attributes for entities in a game. I recently added more members to the structure. The…
sethb411
  • 11
  • 2
0
votes
3 answers

Trying to pass a pointer as a parameter to a member of fstream that points to a file

/* Thanks to anyone looking at this who might attempt to answer it. I'm really not trying to waste anyone's time here, but I have beat my head on this for about three days. I realize it is probably very simple for someone who understands it. I…
Calvin Nix
  • 11
  • 5
0
votes
2 answers

Graph API | Get facebook page members/likes

I've got a question about the facebook graph api. I have a example facebook page: https://www.facebook.com/pages/TheBestCompany/250721784993387 And i want to get the images from all the people that liked that page. I've found on this site that it is…
0
votes
1 answer

Middleware (e.g. CORBA) - Inheritence of Object Members. Is it possible?

Consider the very simple IDL code that specifies a base and derived interface in CORBA: module test{ interface Quote{ attribute string symbol; }; interface SpecialQuote:Quote{ attribute string specialSymbol; }; …
rkeeler78
  • 117
  • 1
  • 2
  • 5
0
votes
1 answer

Mdx Query Problem

Hi I m working on mdx query ,and i thought i solved a problem but.... I ve created a calculated member iif( isleaf([DimensionArtikujDG].[DimensionArtikujDG].CurrentMember), ([Measures].[Sasia])*(1/[Measures].[Koeficienti]), Sum( …
krit
  • 1
0
votes
1 answer

Calling member function of an object inside a vector

This is a continuation on my previous question here regarding retrieving and editing private members of objects in a vector. I have a vector full of objects that have private members that I need to access. I have created accessor functions for…
vaent
  • 11
  • 3
0
votes
1 answer

Exposing arbitrary methods names in a python class for an IDE to read

The situation is this. Suppose you from nastymodule import NastyObject1, NastyObject2, NastyObject3 and this NastyObject's under the hood have a weird implementation that does not cleanly expose its methods due to an inextricable maze of interfaces…
Lester Jack
  • 179
  • 8
0
votes
3 answers

javascript why 2 different object are refering to/using same array?

I have an object definition that has an array in it. When I instantiate 2 objects and access its members both object write to the same array. I was expecting for each object to have their own array and not share the same one. It works fine for the…
Geo
  • 23
  • 9
0
votes
2 answers

MDX - Add Calculated Percent Measure into a Range

i didn't found any solution for my problem. Or maybe i dont know the right keywords. Problem: Cube contains a calculated member measure: CREATE MEMBER CURRENTCUBE.[Measures].[Percentage] as iif([Measures].[Performance GB]=0, null, …
NimraF
  • 13
  • 5
0
votes
2 answers

R: How to extract all labels in a certain node of a dendrogram

I am writing a program that (as a part of it) automatically creates dendrograms from an input dataset. For each node/split I want to extract all the labels that are under that node and the location of that node on the dendrogram plot (for further…
Jurr.Ian
  • 51
  • 4
0
votes
0 answers

Facebook api Get users who invite members to group

I want to get id, name of users who invite their friends to Facebook group. I tried this api to get users who requested to join groups https://graph.facebook.com/v2.10/group_id/member_requests?access_token=[token] but it only shows the list of…
ytdm
  • 1,069
  • 1
  • 12
  • 15
0
votes
0 answers

MDX calculated members in subquery

As query calculated members are not allowed in subselects (SSAS v12), is there any solution to still use them? A session calculated member is not an option, as the same session is shared by multiple callers (which define new calc. members, so a…
partinis
  • 139
  • 12
0
votes
1 answer

c# data class members are instantiated at declaration

I am working on a project where a lot of the data classes look like this: [DataMember] public List SpecialOpeningHours { get; set; } = new List(); I've never seen this before and would normally just do…
Norbert Norbertson
  • 2,102
  • 1
  • 16
  • 28
0
votes
1 answer

Prolog. Have an assignment to take 2 lists. check if any members in said lists correspond. And then put these corresponding members in a new list

I recently started learning prolog in university(1 week in) and have a question! So for example. intersect([a,b,d], [b,c,a,l], L). should output: L=[a,b] or L=[b,a]. I've been trying for hours yet can't get it to work. I want to figure it out on …
PEREZje
  • 2,272
  • 3
  • 9
  • 23
0
votes
1 answer

Python Class And public Members

Hello i wont to create a class with multiple function each function i need to create its own public Members so i did this but it gives me an error import maya.cmds as cmds class creatingShadingNode(): def _FileTexture( self, name = 'new' ,…