Questions tagged [auto-generate]

The automation of the creation of classes, files, documentation, or anything else for which manual creation is costly.

See also

654 questions
2
votes
0 answers

Autogenerate Stub code in C++ to access a webservice?

I'm chancing my arm with this question. I'm looking for a tool which will avoid doing a lot of coding by autogenerating much of the code to access a webservice. I'm trying to help out someone who uses a 4GL system which doesn't support…
Ian
  • 257
  • 1
  • 2
  • 11
2
votes
1 answer

2d Platformer Terrain generation in java

I am making a 2d platformer, and am trying to get some auto-terrain generation. I have found a Perlin noise function, however it isn't really helping, it is generated noise, but there are some platforms high in the air, and sometimes the perlin…
Qasim
  • 1,686
  • 4
  • 27
  • 51
2
votes
1 answer

How to auto-generate settings/options dialog box?

Using Visual Studio 2010 C++ with MFC. The number of configurable settings in my application is slowly creeping up. I managed to design a settings class where adding a single line will add a setting to the program and support reading/writing that…
User
  • 62,498
  • 72
  • 186
  • 247
2
votes
2 answers

C#: Webservice changes expected parameter type (from a normal POCO to a an autogenerated class)

I have the following class in Class Library: Artist, which is a POCO Now I have a method in a web-service (which has a reference to the mentioned-above library) with a signature like this: [WebMethod] public int Artist_AddArtist(Artist a) { …
Andreas Grech
  • 105,982
  • 98
  • 297
  • 360
2
votes
1 answer

Calling macro from within generated function in Julia

I have been messing around with generated functions in Julia, and have come to a weird problem I do not understand fully: My final goal would involve calling a macro (more specifically @tullio) from within a generated function (to perform some…
2
votes
2 answers

Tailwind CSS: Styling Dynamically Created HTML

Any one figure out a good way to style auto-generated HTML code with Tailwind CSS? Example: Using a library like Marked to convert Markdown into HTML, which would then be injected into the page. The key here, is that you do not know the structure of…
Schleichermann
  • 1,126
  • 3
  • 15
  • 26
2
votes
0 answers

How to auto-generate UML diagrams from Java code

While trying to understand existing Java code, I am looking for a tool/application to auto-generate UML diagrams from the Java code. I am interested in the Class diagrams and Sequence diagrams in particular. The community has discussed this topic in…
Mohan
  • 129
  • 8
2
votes
1 answer

why protobuf prefer code-generator other than dynamic loading at runtime

Protobuf prefer compiling xxx.proto to source code (like protoc) other than a liberary just loading xxx.proto at runtime (like DynamicMessage, protobuf-dynamic) Why more projects prefer this way? some compares: compute: compile vs runtime reload: …
fanlix
  • 1,248
  • 1
  • 13
  • 22
2
votes
1 answer

auto generate a css card beside an existing one after a button-click

so I have this page that contains a card, inside it, there is a button named add. when I click on the add button a modal appears which requests you to input the name of the new card after that the modal contains a close and save button after…
Jose
  • 21
  • 1
2
votes
1 answer

Java JPA (EclipseLink) How to receive the next GeneratedValue before persisting actual entity?

I'm using the EclipseLink implementation of JPA and I've got a problem. Here is my entity class: @Entity @Table(name = "attendances") public class Attendance implements Serializable { private static final long serialVersionUID = 1L; @Id …
2
votes
1 answer

Inheriting from a UserControl abstract subclass

I have a set of UserControls that need to have a few similar properties. Thus I have defined an abstract subclass of UserControl that defines these properties and updated the .xaml.cs and .g.cs files to inherit from this base class. All compiles…
2
votes
0 answers

NestJs/Graphql: "CustomObject" defined in resolvers, but not in schema

I'm having an issue after updating nest/core/common/graphql, in which a single type definition is not showing up in the schema. I'm consistently getting an error that it doesn't exist, though I can't find any difference between it's definition and…
Kristen
  • 31
  • 4
2
votes
2 answers

Generate sitemap on a website made ​​with WebMatrix + Razor

I need to generate a sitemap to validate the site with Google Webmaster Tool. How can I generate the sitemap for my website automatically?
ridermansb
  • 10,779
  • 24
  • 115
  • 226
2
votes
2 answers

How to auto generate a webpage after user submits form

I am looking for some initial direction on this one because I cannot seem to find my way with it. Let me explain... I am developing a website wherein a logged in site member (Joomla 1.6) can fill out a simple form and attach a pdf to be uploaded…
codacopia
  • 2,369
  • 9
  • 39
  • 58
2
votes
0 answers

Biml Generated Xml Source (SSIS) has Node_ID column even though the Xml has only 1 node

Using Biml we generate SSIS packages that contain an Xml Source to get data from an Xml file. However this generated XML source includes a column called "Data_Id" even though neither the XSD nor the XML has this column. It generates an error while…
HenkJ
  • 21
  • 2